Sensor and Switch Failures: Detecting and Replacing Faulty Components in Flow Wrappers

A horizontal flow wrapping machine relies on dozens of sensors and switches to monitor product position, film registration, temperature, safety conditions, and machine state. When even a single sensor fails, the consequences range from minor quality issues — misaligned print, incomplete seals — to complete line stoppages and safety risks.

In our experience maintaining flow wrappers across food, pharmaceutical, and cosmetic production environments, sensor and switch failures account for approximately 20–25% of all machine faults. The good news is that most sensor failures are straightforward to diagnose and inexpensive to resolve — provided you know what to look for and follow a systematic testing procedure.

This guide covers the most common types of sensors and switches found in horizontal flow wrappers, how to diagnose failures accurately, and best practices for replacement to prevent recurring issues.

Key Takeaway: Before replacing any sensor, verify the fault is in the sensor itself — not in the wiring, the PLC input, or the mechanical mounting. Up to 40% of “sensor failures” we investigate turn out to be wiring or installation problems.

How Do You Handle Types of Sensors in Horizontal Flow Wrappers?

Understanding what each sensor type does and how it works is the foundation for effective troubleshooting.

Sensor Overview

Sensor Type Function Common Brands Typical Failure Mode
Photoelectric Detects product presence, film mark, registration Keyence, Sick, Baumer Lens contamination, misalignment
Proximity (Inductive) Detects metal objects (machine position) IFM, Balluff, Turck Face contamination, wire damage
Capacitive Detects non-metal objects (product, film) IFM, Baumer, Sick Moisture on face, sensitivity drift
Thermocouple/RTD Measures seal temperature Jumo, Endress+Hauser Wire break, calibration drift
Limit Switch Mechanical position detection Siemens, Schmersal Actuator wear, contact oxidation
Pressure Switch Monitors air pressure for pneumatics SMC, Festo, Norgren Diaphragm wear, setpoint drift
Safety Interlock Switch Monitors guard doors and covers Pilz, Schmersal, Euchner Misalignment, contact welding
Ultrasonic Non-contact level or distance sensing Sick, Pepperl+Fuchs Transducer contamination

What You Need to Know About Diagnostic Approach: The Three-Test Method

Before condemning any sensor, perform these three tests in order:

Test 1: Check the PLC Input Status

This is always your first step. It costs nothing and takes seconds.

  1. Navigate to the I/O diagnostics screen on the HMI
  2. Locate the input address assigned to the suspect sensor (refer to the electrical schematic)
  3. Observe the input state while manually triggering the sensor:
  4. Does the state change? If yes, the sensor and wiring are working. The problem is likely in the PLC program logic or downstream output.
  5. Does the state stay constant? Proceed to Test 2.

Test 2: Test the Sensor Signal at the PLC I/O Module

This test isolates the wiring from the sensor.

  1. Disconnect the sensor cable from the PLC I/O module terminal
  2. Using a multimeter or process calibrator:
  3. For digital sensors (PNP): Connect the output wire to a 24VDC source through a test lamp or resistor. The lamp should light when the sensor activates.
  4. For analog sensors (4–20mA): Connect a process calibrator in series and inject a known current. Verify the PLC reading matches.
  5. Does the PLC register the test signal correctly?
  6. If yes: The PLC input is fine. The problem is in the wiring or the sensor itself.
  7. If no: The PLC I/O module or input channel may be faulty.

Test 3: Test the Sensor Independently

This confirms whether the sensor itself is functioning.

  1. Disconnect the sensor from the machine wiring
  2. Power the sensor directly from a 24VDC bench supply
  3. Present the target object (or actuation mechanism) to the sensor
  4. Measure the sensor’s output:
  5. Digital sensors: Output should switch between 0V and ~24V (NPN) or remain at ~24V and pull low (PNP)
  6. Analog sensors: Output current should change proportionally to the measured variable

What Are the Best Common Sensor Failures and Solutions?

Failure 1: Photoelectric Sensor Not Detecting Product

Symptoms:
– Products pass without being detected
– Machine faults out with “No Product Detected” error
– Detection is intermittent — works sometimes, misses others
– Machine runs but produces double feeds or skipped packages

Diagnostic Steps:

  1. Inspect the sensor lens — Even a thin film of dust, product residue, or moisture can reduce detection reliability. Clean with a lens cleaning cloth and isopropyl alcohol.
  2. Check alignment — The emitter and receiver (or reflector) must be precisely aligned. Even 1–2mm of misalignment in a through-beam sensor can cause intermittent detection. Use the sensor’s indicator LED for rough alignment, then fine-tune for maximum signal strength.
  3. Verify the sensing distance — Ensure the product is within the sensor’s rated sensing range. Refer to the sensor datasheet for the effective sensing distance, which may be shorter than the nominal range depending on the target material and surface finish.
  4. Check for ambient light interference — Bright ambient light (especially sunlight or high-intensity overhead lighting) can interfere with some photoelectric sensors. Consider installing sensor hoods or switching to a modulated sensor type.
  5. Test the sensor independently using the Three-Test Method above.

Prevention Tips:
– Install sensor guards to protect against physical damage
– Clean sensor lenses as part of daily machine startup
– Use sensors with IP67 rating in washdown environments
– Keep spare sensors of each type in your inventory

Failure 2: Film Registration (Eye Mark) Sensor Issues

Film registration sensors (also called “print mark sensors” or “eye mark sensors”) are critical for maintaining print alignment on packaging film. When these sensors fail, the print position drifts on the finished packages.

Related: Common Flow Wrapper Problems and Solutions:

Symptoms:
– Print or graphics drift forward or backward on successive packages
– Machine hunts back and forth trying to find the registration mark
– Intermittent correct registration followed by sudden drift
– Machine runs fine on plain film but fails on printed film

Related: Troubleshooting Heat Sealing Issues: Seal Strength

Diagnostic Steps:

  1. Clean the sensor lens thoroughly — Registration mark sensors are extremely sensitive to contamination. Even a smudge can cause misdetection of the contrast mark.
  2. Verify the registration mark quality — Is the print mark on the film clear, with sufficient contrast against the background? Faded or inconsistent printing from the film supplier can cause detection failures.
  3. Check sensor sensitivity setting — Registration sensors typically have adjustable sensitivity (either potentiometer or digital). If set too sensitive, the sensor detects background variations. If set too insensitive, it misses the mark entirely.
  4. Verify sensor mounting position — The sensor must be positioned at the correct distance and angle relative to the film surface. Vibration can cause mounting hardware to shift over time.
  5. Test at reduced speed — If registration is stable at low speed but fails at high speed, the sensor response time may be insufficient for the application.

Failure 3: Limit Switch Failures

Limit switches are simple mechanical devices, but they are exposed to vibration, moisture, and physical wear that can cause failures.

Related: Film Wrinkling: Causes, Prevention, and Correction

Symptoms:
– Machine won’t start — limit switch not detecting home position
– Intermittent faults that occur at random production intervals
– Switch activates physically but the PLC doesn’t register a signal change
– Machine position drifts because switch actuation point has shifted

Diagnostic Steps:

  1. Check physical actuation — Manually press the switch actuator and listen for a distinct “click.” No click indicates internal mechanism failure.
  2. Measure continuity — Use a multimeter to check for contact closure when the actuator is pressed. No continuity means the contacts are damaged or oxidized.
  3. Inspect the actuator and mounting — Check if the actuator roller or lever is worn, broken, or misaligned. Verify the switch mounting bracket hasn’t shifted due to vibration.
  4. Check wiring connections — Loose terminal connections are a common cause of intermittent limit switch faults. Tighten all terminal screws.

Replacement Best Practices:
– Match the exact switch type (plunger, roller lever, wobble stick) and operating characteristic (SPDT, SPST-NO, SPST-NC)
– Verify the IP rating matches the installation environment
– Set the actuation point to the midpoint of the switch’s travel range (not at the extreme end)
– Apply anti-seize compound to mounting hardware to facilitate future removal

Failure 4: Temperature Sensor Failures

Temperature sensors (thermocouples and RTDs) monitor seal bar temperatures, which directly affect seal quality.

Symptoms:
– HMI displays incorrect or erratic temperature readings
– Temperature reading stuck at a fixed value (commonly 0°C or room temperature)
– Machine alarms “Thermocouple Open” or “RTD Out of Range”
– Seals are inconsistent — burning on some packages, weak on others

Diagnostic Steps:

  1. Measure resistance of the sensor:
  2. RTD (Pt100): At 0°C, resistance should be 100Ω. At room temperature (~25°C), expect approximately 109Ω.
  3. Thermocouple (Type K): Measure millivolt output. At room temperature, expect approximately 1mV.
  4. Check for open circuits — Disconnect the sensor and measure continuity through the sensor leads. An open reading indicates a broken element or disconnected wire.
  5. Verify correct sensor type in the PLC — A Type K thermocouple wired to a Pt100 input channel will read incorrectly. Confirm the PLC analog input configuration matches the installed sensor type.
  6. Inspect the sensor mounting — The sensor must have good thermal contact with the seal bar surface. Loose mounting or air gaps cause inaccurate readings.

Failure 5: Safety Interlock Switch Faults

Safety interlock switches on guard doors and covers must function correctly to protect operators. Faults in these switches can prevent machine operation or, more dangerously, fail to stop the machine when a guard is opened.

Symptoms:
– Machine won’t start even though all guards appear closed
– Machine faults when a guard is not being opened
– Safety relay indicates a switch fault

Critical Safety Note: Never bypass or defeat safety interlock switches. A bypassed safety system can result in serious injury. If a safety switch is causing frequent nuisance faults, the switch must be properly adjusted or replaced — not bypassed.

Diagnostic Steps:

  1. Check the switch actuation point — The guard door must fully engage the switch actuator. Adjust the switch mounting or the door catch if needed.
  2. Test the switch with the door open:
  3. Disconnect the switch from the safety circuit
  4. Measure continuity — should be open (infinite resistance) when the guard is open
  5. Close the guard — should show closed (near 0Ω)
  6. Inspect for contamination — In food and pharmaceutical environments, product debris can accumulate on switch actuators and prevent proper engagement.
  7. Check the safety relay — If the switch tests good but the safety relay still faults, the relay itself may need replacement.

What Are the Best Practices for Sensor Replacement?

When replacing a faulty sensor, following proper procedures ensures reliability and prevents repeat failures:

  1. Power down the machine before disconnecting or connecting sensors (unless the sensor is a plug-and-play type that allows hot-swapping)
  2. Record the sensor’s wiring before disconnection — photograph the terminal connections
  3. Match the specifications exactly — voltage rating (12VDC, 24VDC), output type (NPN/PNP), switching type (NO/NC), and IP rating
  4. Set the new sensor to the same configuration — sensitivity, sensing distance, response time
  5. Verify correct operation before returning to production — trigger the sensor through its full range and confirm the PLC input responds correctly
  6. Document the replacement in your maintenance log — sensor type, location, date, and reason for replacement

How Do You Handle Recommended Spare Sensor Inventory?

Based on our experience supporting flow wrapping operations, the following sensors should be kept as spares on-site:

Sensor Type Quantity Priority
Product detection photoelectric sensor 2 Critical
Film registration (contrast) sensor 2 Critical
Limit switch (standard) 3 High
Temperature sensor (type used in your machine) 2 High
Safety interlock switch 1 High
Proximity sensor 2 Medium
Pressure switch 1 Medium

Frequently Asked Questions

How do I know if a sensor is NPN or PNP?

Check the sensor’s part number and datasheet — the output type is always specified. If documentation is unavailable, you can test it: power the sensor with 24VDC, connect a multimeter between the output wire and ground (0V). If the output goes high (~24V) when activated, it’s PNP. If the output goes low (~0V), it’s NPN. Alternatively, connect the multimeter between output and 24V — NPN sensors will pull low when activated. Mixing up NPN and PNP sensors with incompatible PLC inputs is a common installation error.

Can I clean photoelectric sensors with water?

No. Use only isopropyl alcohol (IPA) and a clean lint-free cloth. Water can leave mineral deposits on the lens, and compressed air alone may not remove stubborn contamination. In food environments where IPA is restricted, use manufacturer-approved sensor cleaning solutions. Never use abrasive materials on sensor lenses, as scratches permanently degrade detection performance.

Why does my registration sensor work intermittently?

Intermittent registration sensor issues usually stem from three causes: (1) contaminated lens — clean thoroughly; (2) inconsistent print mark quality from the film supplier — inspect film rolls for print consistency; (3) sensor mounting vibration — check that mounting hardware is tight and the sensor bracket is not flexing. If the problem persists, consider upgrading to a higher-resolution contrast sensor with digital teach-in functionality.

How often should sensors be replaced?

Sensors don’t have a fixed replacement interval like oil filters. Instead, replace them based on condition: if a sensor has been cleaned multiple times and detection reliability continues to degrade, it’s time for replacement. As a general guideline, photoelectric sensors in clean environments last 5–8 years, while sensors in washdown or harsh environments may need replacement every 2–3 years. Keep a replacement log to identify sensors that fail more frequently than expected — this may indicate an environmental or mechanical issue that needs addressing.

What happens if I install the wrong sensor type?

Installing an incompatible sensor can cause immediate faults (machine won’t start), intermittent operation, or — worst case — undetected failures where the machine appears to function but doesn’t actually detect the target. This is especially dangerous for safety sensors. Always verify the sensor specifications match the machine requirements before installation. If you’re unsure, consult the machine manufacturer. Path Pack provides detailed sensor specification sheets and wiring diagrams for every machine we supply.

Conclusion

Sensor and switch failures are among the most common and most easily resolved causes of flow wrapper downtime. The critical skill is accurate diagnosis — distinguishing between a genuine sensor failure and a wiring, installation, or PLC problem. The Three-Test Method (check PLC input, test at the I/O module, test the sensor independently) provides a reliable framework for this.

Preventive maintenance — regular cleaning, visual inspection, and spare parts inventory — can eliminate the majority of sensor-related downtime. When replacement is necessary, use the exact specifications documented in your machine’s electrical schematic and follow proper replacement procedures.

Path Pack designs every horizontal flow wrapping machine with accessibility and serviceability in mind. Our machines use sensors from trusted brands like Keyence, Sick, and IFM, and we provide complete sensor documentation with part numbers, wiring diagrams, and adjustment procedures. Combined with our 12-month warranty and remote diagnostic support, we ensure that sensor issues never become prolonged production disruptions. Contact our team to learn more about our machines and the support infrastructure behind them.

By Path Pack Technical Team