Safety Light Curtain Wiring Diagram: OSSD, PNP & Relay

Safety Light Curtain Wiring Diagram: OSSD, PNP & Relay

A safety light curtain wiring system pairs a 24 V DC emitter and receiver whose dual-channel PNP OSSD outputs (OSSD1 and OSSD2) wire into an IEC 61496 and ISO 13849-1 Category 4 PL e safety relay or safety PLC—never directly into a standard single-channel PLC input.

Wired properly, this dual-channel loop catches broken wires, +24 V or 0 V shorts, OSSD cross-shorts, and welded contactor poles before the next machine cycle starts. Skipping External Device Monitoring (EDM) or bridging OSSD1 and OSSD2 defeats Category 4 safety integrity.

How Does a Safety Light Curtain Wiring System Work?

A safety light curtain wiring diagram divides machine safeguarding into two isolated columns: a 24 V DC infrared emitter and a synchronized receiver driving two Output Signal Switching Devices (OSSD1 and OSSD2) into a dual-output safety light curtain relay controller or fail-safe PLC.

Under IEC 61496-1 and IEC 61496-2, optical synchronization removes the sync wire on modern industrial safety light curtains, leaving one power cable on the emitter and one M12 cordset on the receiver. When beams remain unobstructed, OSSD1 and OSSD2 stay HIGH (+24 V DC PNP) while transmitting staggered microsecond dark-test pulses. Breaking any beam drops both channels to 0 V DC within 10 ms to 25 ms, opening safety relay paths 13-14 and 23-24 to drop redundant contactors K1 and K2.

HERED SLC-20 hand protection safety light curtain emitter and receiver pair alongside an SLC-SR DIN-rail dual-output safety relay controller with engineering callouts
Category 4 PL e hardware pairing: the 24 V DC emitter and dual-OSSD receiver columns (HERED SLC-20 shown) wire directly into a DIN-rail safety relay controller (HERED SLC-SR).

Standard M12 Pinout and Wire Color Code (Emitter vs. Receiver)

Standard light curtain sensor wiring diagrams use IEC 61076-2-101 A-coded M12 5-pin, 7-pin, or 8-pin connectors to distribute 24 V DC power, OSSD1/OSSD2 signals, and reset or EDM lines inside an IP65 to IP67 housing. Matching IEC 60947-5-2 wire colors on both cordsets prevents reversed supply polarity and crossed safety outputs.

M12 Pin Wire Color Emitter (5-Pin) Receiver (5-Pin) Extended 7/8-Pin Receiver Field Termination Rule
Pin 1 Brown +24 V DC supply +24 V DC supply +24 V DC supply Feed from regulated PELV/SELV 24 V rail
Pin 2 White Coding / Test (or NC) OSSD1 (Channel 1) OSSD1 (Channel 1) Land on relay S12 / F-DI Ch 1
Pin 3 Blue 0 V DC common 0 V DC common 0 V DC common Bond to common 0 V of relay and PLC
Pin 4 Black Range / Sync (or NC) OSSD2 (Channel 2) OSSD2 (Channel 2) Land on relay S22 / F-DI Ch 2
Pin 5 Gray Functional Earth (FE) Reset / EDM / FE EDM feedback input Confirm model datasheet before wiring
Pin 6 Pink Unused on 5-pin Not applicable Manual Reset interlock Wire via NO pushbutton to +24 V DC
Pin 7 Yellow Unused on 5-pin Not applicable Aux status (non-safety) Standard PLC HMI alarm input only
Pin 8 Red (8-pin) Unused on 5-pin Not applicable Aux / Muting status Insulate separately when unused

Choose a 5-pin A-coded M12 cordset when the cabinet safety relay handles EDM monitoring and restart interlock; switch to a 7-pin or 8-pin receiver cable only when onboard EDM or auxiliary diagnostics live inside the receiver housing.

Straight and right-angle IP67 M12 industrial shielded sensor connector cables showing A-coded socket face and knurled metal shield coupling nut
IP67 A-coded M12 shielded cordsets resist machine vibration, preserve EMC shielding, and enable rapid swap-outs during maintenance.

For oil-soaked presses or moving cable carriers, specify PUR-jacketed M8 and M12 IP67 shielded sensor connector cables instead of PVC cordsets to prevent jacket cracking. Insulate unused emitter test wires on spare terminals unless the manual specifies a coding tie-off.

How to Wire a Safety Light Curtain to a Safety Relay (OSSD and EDM Loop)

A compliant safety relay wiring diagram sends OSSD1 and OSSD2 to redundant inputs (S12 and S22), switches two force-guided contactors K1 and K2 from safety outputs 13-14 and 23-24, and monitors their normally closed auxiliary contacts (K1-NC and K2-NC) in series through the relay’s EDM feedback loop.

Complete safety light curtain wiring diagram showing 24V DC emitter and receiver columns wired via OSSD1 and OSSD2 to an SLC-SR safety relay, driving redundant K1 and K2 contactors with series K1-NC and K2-NC EDM feedback loop and staggered PNP OSSD dark-test pulse waveforms
Category 4 PL e topology: OSSD1/OSSD2 feed the SLC-SR relay, K1 and K2 break actuator power in series, K1-NC and K2-NC close the EDM loop, and staggered OSSD dark-test pulses verify output transistors.

Dual-Channel OSSD1 and OSSD2 Connections

Wire Receiver Pin 2 (White, OSSD1) to safety relay terminal S12 and Receiver Pin 4 (Black, OSSD2) to terminal S22. Share a single regulated 24 V DC PELV/SELV supply and 0 V DC reference between the light curtain and safety relay. Never jumper OSSD1 and OSSD2 together; bridging outputs masks cross-shorts and breaks ISO 13849-1 Category 3/4 coverage.

K1 and K2 Force-Guided Contactors and the EDM Feedback Loop

To satisfy Category 4 PL e, connect safety output 13-14 to contactor coil K1 and output 23-24 to coil K2, wiring both main load poles in series with the motor starter or hydraulic valve. Both K1 and K2 must be force-guided (mechanically linked per IEC 60947-5-1) so an NC mirror contact cannot close if a main NO pole welds shut.

Route +24 V DC through K1-NC in series with K2-NC into the EDM terminal of the dual-output safety light curtain relay controller. If K1 welds shut, K1-NC stays open, blocking the next restart while K2 safely breaks power.

Manual Monitored Reset vs. Automatic Restart Interlock

Install Manual Monitored Reset—a momentary NO pushbutton wired in series with K1-NC/K2-NC outside the guarded zone with full hazard visibility—whenever an operator can step past the curtain plane. Use automatic restart only on tight point-of-operation openings with an SLC-14 finger protection safety light curtain or SLC-20 hand protection safety light curtain where fixed guards block step-through access.

PNP vs. NPN Safety Outputs and Safety PLC Integration

Modern IEC 61496 curtains standardize on dual-channel PNP (sourcing) OSSD outputs because a wire short to chassis ground pulls the signal to 0 V DC (safe OFF) rather than energizing a safety input. Legacy Asian panels occasionally require NPN (sinking) outputs, making polarity and pulse checks mandatory before connecting to a safety PLC.

Electrical Parameter Dual-Channel PNP OSSD Dual-Channel NPN OSSD Safety Engineering Impact
Active ON state (clear) Sources +24 V DC (Vs minus 1.5 V) Sinks load to 0 V DC PNP matches IEC 61131-2 safety PLCs
Safe OFF state (blocked) 0 V DC / open output Open / floating output Both channels drop together on stop
Short to chassis ground Fails safe (drops to 0 V / trips fuse) Can mimic ON state (unsafe) Core reason ISO 13849-1 favors PNP
OSSD dark-test pulses Staggered 50 µs to 500 µs OFF Staggered 50 µs to 500 µs OFF Controller filter must pass pulses
Output current limit 200 mA to 500 mA DC 200 mA to 500 mA DC Switch heavy coils via K1/K2 only
Compatible controllers Siemens S7-1200F/1500F, SLC-SR Legacy sinking relays / FX5U Verify input card polarity first

Specify dual-channel PNP OSSD outputs for new OEM machines using Siemens S7-1200F, S7-1500F, GuardLogix, or DIN-rail safety relays; reserve NPN OSSD models strictly for legacy sinking-input panel retrofits.

Handling OSSD Dark-Test Pulses on Safety PLCs

Type 4 curtains emit 50 µs to 500 µs OFF test pulses alternately on OSSD1 and OSSD2 while beams stay clear. When landing both lines directly onto fail-safe PLC inputs—such as Siemens ET 200SP F-DI (S7-1200F/S7-1500F) or Mitsubishi FX5U safety modules—apply two settings:

  1. Disable internal PLC sensor pulse testing: Because the curtain runs its own OSSD dark-test pulses, keeping the F-DI card’s sensor pulse test enabled causes pulse collisions and false discrepancy lockouts.
  2. Tune input debounce and discrepancy time: Configure 1oo2 evaluation with an input filter wider than the curtain pulse (0.5 ms to 1.0 ms) and a 50 ms to 200 ms discrepancy window so self-checks pass cleanly while single-channel faults latch safe stop.

Never wire OSSD1/OSSD2 solely into a non-safety PLC (such as a standard FX5U CPU without safety modules) to stop hazardous motion. For Type 2 vs. Type 4 self-checking details, read our Safety Light Curtain Type 2 vs Type 4 Guide.

Shielding, Grounding, and Cable Length Best Practices (EMC Prevention)

Presses, servo drives, and VFDs couple switching transients into unshielded M12 cordsets, causing phantom trips. Apply five EMC wiring rules on every cabinet build:

  • Single-point shield grounding: Bond the braided shield and Functional Earth (FE) wire only to the cabinet EMC earth bar; grounding both ends creates ground-loop noise.
  • Tray separation: Keep curtain cordsets at least 200 mm from VFD and servo power cables, crossing AC lines at 90 degrees where unavoidable.
  • Cable length limits: Stay within rated cable distance (typically 30 m to 50 m on 0.34 mm² to 0.5 mm² wire) so receiver voltage stays above 19.2 V DC.
  • Coil arc suppression: Mount flyback diodes (DC coils) or RC snubbers (AC coils) directly across K1 and K2 coils to suppress inductive spikes.
  • Dedicated PELV/SELV supply: Power the curtain and safety relay from a regulated 24 V DC supply (under 5% ripple) isolated from heavy solenoids.

Pre-Commissioning Safety Checklist and Troubleshooting

Before releasing machinery, verify wiring integrity and ISO 13855 minimum safety distance (S = K × T + C, combining approach speed K, stopping time T, and intrusion distance C from 14 mm, 20 mm, or 40 mm pitch). Sizing workflows across SLC-14, SLC-20, and SLC-40 body guarding safety light grid curtains appear in our Safety Light Curtain Selection Guide.

Five-Point Pre-Commissioning Sign-Off

  1. Test-rod sweep: Pass a calibrated rod matching the curtain pitch (14 mm, 20 mm, or 40 mm) across top, middle, and bottom zones near emitter, midpoint, and receiver to confirm instant OSSD drop.
  2. Reflective surface check: Confirm no glossy stainless rails or aluminum frames sit inside the aperture angle where beams could bounce past an obstruction.
  3. Single-channel fault test: Disconnect OSSD1 alone, verify lockout, reset, and repeat on OSSD2 alone.
  4. EDM welded-contactor test: Open K1-NC before pressing Reset and verify the safety relay blocks startup.
  5. Stop-time audit: Measure actual braking time with a stop-time meter and confirm mounting distance exceeds ISO 13855 distance S.

Common Safety Light Curtain Wiring Faults and Troubleshooting

Fault Symptom Primary Root Cause Diagnostic Check Corrective Action
Relay stays locked out with green LEDs Open EDM loop, stuck NC contact, or no Reset Ohm-check K1-NC + K2-NC loop with power OFF Fix loose EDM wire, replace contactor, or press Reset
Random stops during VFD acceleration F-DI OSSD pulse collision or EMC noise Check F-DI diagnostic buffer and tray spacing Disable F-DI pulse test; separate 200 mm from VFD leads
Red fault LED immediately on power-up OSSD1/OSSD2 cross-short or rail short Unland Pin 2 and Pin 4 and ohm-check wires Replace pinched cordset; wire White and Black separately
Intermittent trip near adjacent cell Optical crosstalk or shiny frame bounce Mask neighboring emitter; inspect glossy rails Flip neighbor E-R / R-E sides or fit matte baffles
Receiver reboots cyclically under load Supply sag below 19.2 V DC on long run Measure DC volts at Pin 1 and Pin 3 under load Upsize wire gauge or add dedicated PELV 24 V supply

Separate sensor faults from cabinet wiring faults by unlanding OSSD1 and OSSD2 at the safety relay and checking 24 V DC at Pin 1/Pin 3: if the receiver turns solid green unloaded, troubleshoot the relay, F-DI pulse filter, or EDM loop.

Frequently Asked Questions

Can I connect a safety light curtain directly to a standard PLC input?

No. Standard non-safety PLCs lack dual-channel cross-short detection, OSSD pulse verification, and fail-safe stop circuits required by IEC 61496 and ISO 13849-1. Always land OSSD1 and OSSD2 on a certified safety relay or safety PLC (F-DI card).

Why do safety light curtains use two OSSD outputs instead of one?

Dual outputs (OSSD1 and OSSD2) provide ISO 13849-1 Category 3/4 hardware redundancy so one shorted transistor or broken conductor cannot defeat stopping. Staggered microsecond dark-test pulses let both devices catch cross-channel shorts immediately.

What happens if the EDM feedback loop is left unconnected?

Omitting the External Device Monitoring loop leaves the safety relay blind to a welded pole on K1 or K2. If one contactor welds closed, redundancy disappears silently and a second fault causes dangerous loss of stopping capability.

Should I choose PNP or NPN outputs for a safety light curtain?

Order dual-channel PNP sourcing OSSD outputs unless retrofitting a legacy sinking-input panel that cannot be rewired. PNP inputs are standard across IEC 61131-2 safety PLCs and DIN-rail safety relays (including HERED SLC-SR) because ground faults fail safe.


Request a Custom Safety Light Curtain Wiring Kit & OEM Quote

Configuring a hydraulic press, packaging sealer, or robotic cell? Send your protective height (mm), resolution (14 mm, 20 mm, or 40 mm), operating span, and safety relay / PLC model via our Hered Electric Contact & RFQ page or explore our Safety Light Curtain Manufacturer Hub for matched SLC curtains, PUR M12 cordsets, and SLC-SR relay kits.

Safety Notice: M12 pinouts, wire colors, and terminal markings vary by curtain revision and pin count. Always check the official datasheet and installation manual supplied with your exact safety light curtain and safety relay model before energizing or commissioning equipment.

References

  1. IEC 61496-1 — Safety of machinery: Electro-sensitive protective equipment (General requirements and tests)
  2. IEC 61496-2 — Safety of machinery: Particular requirements for equipment using active opto-electronic protective devices (AOPDs)
  3. ISO 13849-1 — Safety of machinery: Safety-related parts of control systems (General principles for design)
  4. ISO 13855 — Safety of machinery: Positioning of safeguards with respect to the approach speeds of parts of the human body
  5. HERED Electric — Industrial Safety Light Curtains Catalog
  6. HERED Electric — SLC-SR Dual-Output Safety Light Curtain Relay Controller
  7. HERED Electric — Safety Light Curtain Selection Guide
  8. HERED Electric — Safety Light Curtain Type 2 vs Type 4 Guide
Need help selecting the right industrial sensor?

Explore our 1,152+ catalogued inductive, photoelectric, capacitive, and magnetic proximity sensors or request factory cross-reference support.

DIRECT FACTORY RFQ

Need sensor pricing, samples, or OEM cross-reference?

Share your target material, sensing distance, NPN/PNP output, or model code. Our engineering team replies within 24 hours.

WhatsApp: +86 180 6639 6588

DIRECT FACTORY QUOTE

Request a Quote from Hered Electric

Share your sensor model, sensing distance, NPN/PNP output, or OEM quantity. Our engineering team responds within 24 hours.

  • 1,152+ catalogued industrial sensor SKUs
  • Direct factory pricing & model cross-reference
  • OEM/ODM housing, cable & private-label support