For two decades, I've specified, installed, and cursed proximity sensors in environments ranging from sterile cleanrooms to sulfur-laden mining mills. The glossy catalog specs are a starting point, but survival depends on information you won't find there. Let's cut to the chase.
Experience Correction: The Reality Gap in Rated Specifications
The most pervasive myth is the stated sensing distance. Manufacturers calibrate under ideal conditions: 23°C, with a standard mild steel target. In practice, thermal drift is your silent enemy. A sensor rated for 10mm at room temperature can see its effective sensing distance shrink by over 15% in a sustained 80°C ambient environment, not due to failure, but due to oscillator circuit drift. Similarly, the "standard target" is a fantasy. Sensing a worn, pitted cast iron surface or a thin-gauge aluminum can reduce effective range by 30-40% versus the pristine test plate. The correction factor isn't linear; it's a curve. My rule: derate the nominal sensing distance by at least 25% for critical positioning applications. For cylinder position sensing, never design with less than 50% margin from the catalog. Vibration is another datasheet ghost. A sensor rated for 10-55Hz at 2g might fail prematurely in a 92Hz harmonic, not from acceleration but from resonant frequency-induced internal PCB trace fatigue.

Boundary Conditions: When to Walk Away
Inductive sensors and conductive media are a doomed marriage. Using a standard inductive sensor to detect a valve position in a high-pressure water jet system is a classic failure. The water, especially if ionized by additives or particulate, forms a conductive film. This can cause false triggering or, worse, a gradual capacitance shift that leads to intermittent failures impossible to diagnose without an oscilloscope. The boundary isn't "wet"; it's any environment with consistent conductive film deposition.
Ferrite-core inductive sensors in extreme DC magnetic fields, like those near large DC motors or MRI equipment, will saturate and become blind. The internal core material reaches its magnetic flux limit, rendering the oscillator inert. Hall-effect sensors might seem like an alternative, but their own boundary is steep thermal gradients, causing offset voltage drift that mimics a signal.

Ultrasonic proximity sensors in environments with rapidly changing air density (e.g., near oven exhausts, high-pressure air vents) are unreliable. The speed of sound change can cause ranging errors exceeding 50mm. Using them for precision level detection in a vented silo with temperature stratification is an exercise in frustration.
Counter-Intuitive Conclusions: Data-Driven Heresies
1. Sometimes, a "Less Accurate" Sensor is More Reliable. In high-vibration, high-contaminant settings (e.g., forestry equipment), a large-hysteresis, low-frequency oscillation inductive sensor often outperforms a high-precision, high-frequency one. The latter is more susceptible to noise from conductive dust (like metallic brake dust) and vibration-induced signal modulation. The "inaccuracy" (wider hysteresis) provides a noise immunity buffer that increases mean time between failures (MTBF) dramatically.
2. Shielding Can Increase Interference. The instinct is to specify heavily shielded sensors for noisy electrical panels. However, in AC-driven systems, a fully shielded sensor body can act as a capacitor to ground, creating a parasitic capacitance loop with VFD output cables. This can induce a false current in the sensor's detection circuit. In many 480VAC panel environments, a non-shielded or semi-shielded sensor with proper independent conduit routing exhibits fewer spurious triggers than its "superior" shielded counterpart.
3. The "Fail-Safe" Logic Trap. Many demand normally closed (NC) outputs for "fail-safe" design, believing a wire break will stop the machine. Modern solid-state sensors fail more often internally to a state rather than an open circuit. A more robust strategy is to use a normally open (NO) sensor in a pulsed monitoring circuit. The PLC or safety relay looks for a deliberate, timed pulse. No pulse within the window = fault. This detects more failure modes, including internal latch-ups, than relying on simple contact state.
The ultimate insight: Proximity sensor reliability is less about the sensor itself and more about the system's impedance—electrical, mechanical, and environmental. Treating it as a simple switch is the first step toward failure. It is an analog component masquerading as a digital one. Your design must account for the masquerade.