OSSD wiring (NPN/PNP with EDM)

Engineer-ready guide. How to wire dual-channel OSSD with EDM feedback in PNP and NPN topologies, avoid common mistakes, and verify with a simple commissioning routine. Includes copy-ready I/O map, checklists, and fault-finding notes.

Safety notice: OSSD must interrupt power to actuators via a safety relay/controller and contactors (K1/K2). A standard PLC input may monitor status and interlock logic but must not perform the safety stop.

1) OSSD & EDM in practice

OSSD are two independent, self-monitoring outputs (OSSD1/OSSD2). The pair drops on beam interruption, channel fault, cross-fault, or desynchronization. Channels must be electrically separated and tested at power-up.

EDM (External Device Monitoring) supervises the external switching devices (K1/K2). If a contactor welds or a safety relay fails, EDM prevents reset and flags a diagnostic state.

ItemGood practiceWhy it matters
Channel independenceSeparate fusing/harnesses for OSSD1/OSSD2Prevents single fault from masking failures
EDM loopSeries NC contacts of K1/K2 back to the controllerBlocks reset on welded contacts
PolarityMatch PNP/NPN to input common (COM)Wrong polarity causes permanent ON/OFF
Safety distanceDocument ISO 13855: S = K×T + CEnsures timely stop before hazard reach

2) Topologies: PNP vs NPN (with EDM)

PNP (sourcing) — recommended default

  • COM = 0 V on the input module.
  • OSSD1 → Input X0, OSSD2 → Input X1, EDM → Input X2.
  • Reset PB → Input X3 (rising edge or two-stage).
  • 24 V sensor PSU isolated from drives; single-point shield ground.
// Logic view (simplified)
+24V ──► OSSD1 ──► X0         K1  K2 (NC series) ──► EDM ──► X2
+24V ──► OSSD2 ──► X1         Reset PB ────────────► X3
0V   ───────────────────────── COM=0V on input module

NPN (sinking) — when COM = +24 V

  • COM = +24 V on the input module.
  • Logic inverted: OSSD pulls to 0 V to signal ON.
  • Do not mix PNP/NPN on the same shared COM block.
// Logic view (simplified)
X0 ◄── OSSD1 ─── 0V           K1  K2 (NC series) ──► EDM ──► X2
X1 ◄── OSSD2 ─── 0V           Reset PB ────────────► X3
COM=+24V feeds the input common

Wiring checklist (copy-and-do)

  • Label TX/RX terminals per drawing; keep OSSD1/2 in separate sleeves.
  • EDM returns the series NC contacts of K1/K2; verify opens on energy removal.
  • Keep sensor cabling ≥ 200 mm from motor/power cables; cross at 90°.
  • Ground shields at cabinet side only (single-point) to avoid loops.

3) Copy-ready I/O map & naming

VariableAddressSourcePurposeRemarks
LC_OSSD_CH_AX0Light curtain OSSD1Channel A statusSeparate fuse/harness
LC_OSSD_CH_BX1Light curtain OSSD2Channel B statusAlarm on mismatch
LC_EDM_FBX2K1/K2 NCExternal device monitoringBlocks reset if welded
LC_RST_PBX3Reset pushbuttonManual resetEdge only / two-stage
LC_STATUS_OKM100LogicBoth channels + EDM OKInternal bit
LC_INTERLOCKM101LogicEnable-to-startDrop on any fault

Structured Text (illustrative, PLC-agnostic)

// OSSD status
LC_STATUS_OK := (X0 = TRUE) AND (X1 = TRUE) AND (X2 = TRUE);

// Rising edge helper (one-shot)
IF (X3 = TRUE) AND (X3_last = FALSE) AND LC_STATUS_OK THEN
  LC_INTERLOCK := TRUE;
END_IF;
X3_last := X3;

// Auto-cancel on error
IF NOT LC_STATUS_OK THEN
  LC_INTERLOCK := FALSE;
END_IF;

Tip: for two-stage reset, require press → release → press within a 0.5–3 s window before setting LC_INTERLOCK.

4) Reset strategies

  • Mandatory manual reset: do not auto-restart after beams clear.
  • Two-stage action: reduces inadvertent resets in noisy environments.
  • Edge-only: hold-to-reset is prohibited; use rising-edge detection.
  • Ergonomics: operator must have full view of the hazard zone when resetting.

5) Commissioning routine (5-step)

  1. Polarity & commons: verify input module COM (0 V for PNP, +24 V for NPN) and PSU polarity.
  2. Channel coherence: block/unblock beams; OSSD1/2 must switch near-simultaneously. Desync > a few ms should alarm.
  3. EDM test: de-energize and mechanically hold a contactor; reset must be inhibited.
  4. Reset validation: long-press ineffective; only rising edge / two-stage accepted.
  5. Record: file ISO 13855 calculation, I/O list, and capture levels at OSSD1/2, EDM, Reset.

Self-test log (CSV copy)

Item,Test,Expected,Actual,Result,Notes
1,OSSD1/2 simultaneous response,Two channels drop together,,,
2,Desync detection,Channel mismatch triggers fault,,,
3,EDM welded contact block,Reset inhibited when K1/K2 held,,,
4,Reset logic,Rising-edge/two-stage only,,,
5,Safety distance,ISO 13855 recorded & signed,,,
6,Waveform/levels,OSSD/EDM/Reset captured & archived,,,

6) Common mistakes & how to avoid

MistakeSymptomFix
Mixing PNP/NPN on one input common blockInputs stuck ON/OFF; intermittent faultsStandardize polarity per module; segregate commons
Sharing fuse/harness for OSSD1/2Single fault compromises redundancyIndependent protection & routing for each channel
Skipping EDMReset possible with welded contactorAlways wire series NC of K1/K2 back to EDM
Parallel runs with VFD/motor cablesFalse trips, noise-induced resetsMaintain ≥200 mm separation; cross at 90°; shield/ground correctly
Holding reset pushbuttonUnexpected restarts after faults clearEdge-trigger or two-stage reset only

7) FAQ

Why is PNP preferred in most plants?

Industry convention, better interoperability with standard modules, and clearer fault behavior. Use NPN only when the input common is designed for +24 V.

Can a PLC directly open the safety circuit?

No. Use a safety relay/controller and force-guided contactors for the stop; PLC inputs are for status/interlocks only.

How do I prove the EDM path?

De-energize and hold one contactor; confirm the EDM input stays open and reset is blocked. Record the test in the commissioning log.