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.
| Terminals | Usual role | Notes |
|---|---|---|
| A1 / A2 | Supply, often +24 V / 0 V | Powers the module (24 V DC or, on some models, 115/230 V AC). |
| S11 / S12 | Channel 1 input pair | S11 often sources a sense voltage; S12 returns it through the device. |
| S21 / S22 | Channel 2 input pair | Second channel; cross-fault monitoring watches for a short between channels. |
| S33 / S34 | Start / feedback loop | Feedback and reset (F126). Autostart closes the loop; monitored start needs a leading edge. |
| 13–14, 23–24 | Safety 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
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
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
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 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
| Symptom or mistake | What usually happened | What to check |
|---|---|---|
| Outputs will not reset | Feedback open, or monitored reset missed a rising edge | K1/K2 aux NC closed? Reset not held closed? Loop on the named start/EDM terminals? |
| One channel LED off after a stop | Open/short on that channel, or channels disagree after a cross-fault | Device contacts or OSSD pair; cable between channels |
| Guard closed, relay still off | OSSD polarity mismatch, or contact on the wrong pair | PNP vs NPN variant; S11/S12 vs S21/S22; A1/A2 supply |
| E-stop release restarts the machine | Automatic reset with no separate START downstream | Add start/seal-in after the contactors, or use monitored manual reset |
| Door switch on A1/A2 | Relay used as a power cut | Move the device to safety inputs; restore permanent supply to A1/A2 |
| Welded contactor unnoticed | Feedback bypassed or aux contacts not mirror contacts | Series 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.
- 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.
- 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.
- 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.
- Douglas Nix, ISO 13850 Application: Ensuring Safety through Emergency Stop Systems, Machinery Safety 101, 18 May 2026. Reset must not restart the machine.
- 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.
- NEWMAZZ 2026 Safety Door Switches selection manual (PDF), pages 45–55 and 63–64. MAS02/MAS03 OSSD; MA9Z input versions, terminals, catalog ratings.
- 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.
