Your connection to machine safety supply in ChinaFor OEMs, machine builders & integrators EN / GLOBAL
MACHINE SAFETY / WIRING BASICS

Safety relay wiring diagram:
inputs, reset modes, and the feedback loop

A safety relay sits between safety devices and contactors. The four wiring pieces on almost every datasheet are contact inputs, OSSD inputs, reset modes, and the output feedback loop.

Published 11 November 2026 · By JOYLINKTECH · Sources are listed at the end of the page.

This page is about the relay itself. The companion E-stop wiring diagram guide covers how buttons are chained into a relay. Diagrams use 24 V DC and common terminal names (A1/A2, S11–S34, 13–14 / 23–24). Makers differ: treat labels as a convention, not a pinout. All four diagrams are in one PDF (4 pages).

Reading the terminal block

The terminal table below follows the A1/A2 and S11/S12/S21/S22 pattern used in the TESCH F126 datasheet (hosted by Rayleigh Instruments) and in Vladimir Romanov's SolisPLC GuardMaster tutorial. John Spik's Ferndale Safety overview shares A1/A2 supply, the dual-channel idea, OSSD pulse behaviour and the A1/A2 misuse warning, but his example returns on S12/S14 and puts feedback on S21.

Common safety-relay terminal names (convention only)
TerminalsUsual roleNotes
A1 / A2Supply, often +24 V / 0 VPowers the module (24 V DC or, on some models, 115/230 V AC).
S11 / S12Channel 1 input pairS11 often sources a sense voltage; S12 returns it through the device.
S21 / S22Channel 2 input pairSecond channel; cross-fault monitoring watches for a short between channels.
S33 / S34Start / feedback loopFeedback and reset (F126). Autostart closes the loop; monitored start needs a leading edge.
13–14, 23–24Safety outputs (NO)Drive contactor coils K1 and K2. Extra NO pairs (33–34) and an aux NC (e.g. 41–42) are common.

Copy the datasheet in front of you. Wiring a door switch across A1/A2, as Spik warns, turns the module into a plain power cut.

Diagram 1: dual-channel contact input

Safety relay wiring diagram with dual-channel contact input: door or E-stop NC contacts on S11-S12 and S21-S22, A1/A2 supply, outputs 13-14 and 23-24 to contactors K1 and K2
Diagram 1. Contact-type dual channel (door switch or E-stop with two NC blocks).

Contact inputs are dry NC contacts from an E-stop, tongue door switch or magnetically coded switch. Each channel gets its own contact; opening either drops the outputs. With cross-fault monitoring, a short between the channel wires also drops the outputs (F126 dual-channel examples). The E-stop guide Diagram 2 is the same layout; swap the button for a door switch and the topology stays the same.

Diagram 2: OSSD / transistor input

Safety relay wiring diagram with OSSD transistor inputs from a light curtain or non-contact switch into S12 and S22, with S21 returned to 0 V
Diagram 2. Semiconductor outputs into the relay. Polarity must match the relay input variant.

Light curtains and many non-contact switches present OSSD outputs: two 24 V channels that sit high when the guard is clear and briefly pulse low on a staggered schedule (Spik). See what is OSSD for the pulse and fault detail, and the NPN vs PNP guide for why most safety OSSDs are PNP. On the F126 light-curtain example, S12 and S22 see external +24 V and 0 V returns on S21. SolisPLC shows the same idea with a SensaGuard into a GuardMaster DIS module. Match polarity (PNP OSSD → PNP-input module). NEWMAZZ lists both polarities on MA9Z-N / MA9Z-P and OSSD outputs on MAS02 / MAS03 (manual pages 45–55 and 63–64).

Diagram 3: automatic, manual and monitored reset

Side-by-side safety relay wiring diagrams comparing automatic reset with only K1 and K2 NC contacts in the S33-S34 loop versus monitored reset with those contacts plus a NO reset button
Diagram 3. Left: automatic reset. Right: a reset button in the same S33–S34 path. Manual and monitored start can look identical on the wire; only monitored start rejects a held-closed button (edge detection is inside the relay and defined in the datasheet).

Romanov splits reset into automatic and manual. Automatic reset re-enables outputs once inputs and the feedback loop are closed; manual reset waits for a pushbutton. F126 adds monitored start: the relay switches on only at the leading edge of the start circuit, so a jammed or wired-closed reset button cannot bring the outputs back alone.

Automatic reset is common on guard doors that should clear when the door closes. It only works if releasing the guard (or the E-stop) does not start the machine. Douglas Nix's ISO 13850 summary states that resetting an E-stop only allows a restart; a separate START still has to run after the relay outputs, not inside the reset loop.

Diagram 4: outputs and the feedback loop

Safety relay wiring diagram showing outputs 13-14 and 23-24 driving contactors K1 and K2, with K1 and K2 auxiliary NC contacts and an optional reset button in the S33-S34 feedback loop
Diagram 4. Dual safety outputs and EDM through contactor aux contacts.

Safety outputs 13–14 and 23–24 close when the inputs are healthy and the reset condition is met. Wire each output to its own contactor coil, and put the main contacts in series ahead of the starter or drive enable so either contactor can cut power if the other welds.

The feedback loop (EDM, external device monitoring) checks those contactors. On F126, K1 and K2 aux NC contacts sit in series between S33 and S34. If a main contact welds, the matching aux NC stays open, the loop stays open, and the relay refuses to reset. Contactors with mirror contacts (IEC 60947-4-1 Annex F) are built for this use. See also the force guided relay guide.

Guard door and E-stop: one relay or two?

Whether one relay is enough comes from the risk assessment, not from a preference for fewer parts.

  • One relay, series inputs. Door and E-stop contacts in the same dual-channel chain. Compact, but series connection can mask faults upstream (Nix on ISO 14119 Annex J; E-stop guide Diagram 3).
  • One relay, separate input pairs. Some modules take more than one dual-channel input, or expand with a second module, so a fault on one device does not hide inside the other.
  • Two relays. One module for the E-stop, another for the guard; cascade or AND the outputs. Spik notes daisy-chaining modules is normal. It uses more cabinet space and keeps stop categories and reset behaviour easier to document.

When the E-stop must override every mode and a guard lock has its own unlock sequence, two functions usually means two monitored paths.

Where MA9Z fits (and what this page will not draw)

The NEWMAZZ 2026 selection manual (pages 63–64) lists three input versions of the MA9Z safety relay module: MA9Z-N (dual NPN NC), MA9Z-P (dual PNP NC) and MA9Z-S (dual-channel safety door or E-stop). Catalog claims include Category 4 / PL e (EN/ISO 13849-1), 3 NO + 1 NC, AC15 5 A / 250 V, DC13 6 A / 24 V, and manual or automatic reset. Confirm on the selected model and its operating instructions.

Page 64 prints A1, A2, S11, S12, S21, S22, S34 and S35 on MA9Z-S (S1/S2 plus S34/S35 on the transistor versions). The selection manual has no complete wiring diagram, and the English reset text gives the same S34 connection for both automatic and manual reset, then points monitored reset at S35. Because of that contradiction, this page does not map Diagrams 1–4 onto MA9Z terminals. Ask for the MA9Z operating instructions for the exact suffix before landing reset and feedback wires. See the emergency stop safety relay RFQ worksheet and the safety relay selection hub.

Fault and wiring checklist

Faults a dual-channel relay is meant to catch, and mistakes that defeat it
Symptom or mistakeWhat usually happenedWhat to check
Outputs will not resetFeedback open, or monitored reset missed a rising edgeK1/K2 aux NC closed? Reset not held closed? Loop on the named start/EDM terminals?
One channel LED off after a stopOpen/short on that channel, or channels disagree after a cross-faultDevice contacts or OSSD pair; cable between channels
Guard closed, relay still offOSSD polarity mismatch, or contact on the wrong pairPNP vs NPN variant; S11/S12 vs S21/S22; A1/A2 supply
E-stop release restarts the machineAutomatic reset with no separate START downstreamAdd start/seal-in after the contactors, or use monitored manual reset
Door switch on A1/A2Relay used as a power cutMove the device to safety inputs; restore permanent supply to A1/A2
Welded contactor unnoticedFeedback bypassed or aux contacts not mirror contactsSeries both aux NC in the EDM loop; confirm the contactor datasheet

FAQ

Are Allen-Bradley or Pilz terminal numbers the same as these diagrams?

No. GuardMaster, PNOZ and other families reuse some labels (A1/A2, 13–14) and rename others. Use the model manual; these diagrams follow the F126-style convention only as a teaching map.

Can one safety relay handle a light curtain and an E-stop?

Some modules accept mixed inputs or expand with a second module; many simple relays are contact-only or semiconductor-only. Check the exact part, then choose series, separate pairs or two relays from the risk assessment.

Manual reset vs monitored reset?

Manual reset needs a button press. Monitored (monitored-start) reset also checks that the button was open and then closed, so a welded or jumpered button cannot reset the relay alone. Automatic reset has no button in that path.

Is the PDF enough to wire a named brand?

No. The 4-page PDF is generic. Pair it with the operating instructions for the relay and its input devices.

Sources

Checked 9 November 2026.

  1. John Spik, Safety Relays Explained: A Guide to How They Work, Ferndale Safety, 1 October 2024 (updated 5 December 2025). Dual-channel I/O, terminal roles, OSSD pulses, feedback/EDM, A1/A2 misuse.
  2. Vladimir Romanov, Allen Bradley GuardMaster Safety Relay Wiring Tutorial, SolisPLC, updated 9 January 2025. A1/A2, S11/S12/S21/S22, S34 reset, auto vs manual reset, OSSD non-contact on DIS.
  3. TESCH F126 safety relay, datasheet (PDF) hosted by Rayleigh Instruments. Dual-channel contact and light-curtain examples, cross-fault monitoring, S33/S34 autostart vs monitored start, contactor NC feedback.
  4. Douglas Nix, ISO 13850 Application: Ensuring Safety through Emergency Stop Systems, Machinery Safety 101, 18 May 2026. Reset must not restart the machine.
  5. Douglas Nix, Fault Masking in Interlocking Systems and Series-Wired E-Stops, Machinery Safety 101, 18 March 2026. Series connection and fault masking under ISO 14119 Annex J.
  6. NEWMAZZ 2026 Safety Door Switches selection manual (PDF), pages 45–55 and 63–64. MAS02/MAS03 OSSD; MA9Z input versions, terminals, catalog ratings.
  7. IEC 60947-4-1, Annex F (mirror contacts).

The diagrams are generic illustrations drawn by JOYLINKTECH from the sources above. They are not a machine design and not MA9Z pinouts. Confirm wiring against the operating instructions of the exact devices and the machine's risk assessment. JOYLINKTECH is an authorized distributor for NEWMAZZ and DUCO products and supports selection and integration; it does not manufacture them.

LET'S TALK ABOUT YOUR APPLICATION

Have a part number.
Or a guarding problem to solve?

Start your inquiry

We use Microsoft Clarity to understand website visits and improve this site. Website privacy notice