Product guide
DIN Rail vs PCB Relay Sockets: Mounting and Selection
Compare DIN-rail, PCB and panel-mount relay sockets, separate mounting from terminal style, and match a socket to the relay, wiring and service plan.
A DIN-rail relay socket is designed for serviceable control-panel wiring, while a PCB relay socket is designed to place a removable relay on a printed circuit board. Panel-mount sockets sit between those approaches and attach to a surface or cutout. Mounting style and terminal style are separate decisions: a DIN-rail socket may use screw or push-in terminals, while a PCB socket uses solder pins and must match the board footprint.
DIN rail vs PCB vs panel-mount relay sockets
| Socket style | Where it mounts | Typical connection | Best fit | Main risk to check |
|---|---|---|---|---|
| DIN rail | Usually 35 mm rail inside a control panel | Screw, push-in, or spring-style field terminals | Machines, cabinets, serviceable automation wiring | Panel width, height, wire access, and relay retention |
| PCB mount | Through-hole footprint on a circuit board | Solder pins | OEM electronics and compact repeatable assemblies | Exact pin pitch, footprint, creepage, and solder process |
| Panel or surface mount | Directly to a panel, bracket, or chassis | Solder lugs or screw terminals, depending on model | Equipment without DIN rail or with a fixed legacy layout | Cutout/fastener pattern, insulation, rear clearance |
What does a relay socket do?
A relay socket provides the electrical and mechanical interface between a plug-in relay and the rest of the circuit. It lets technicians replace the relay without disturbing every field wire or desoldering the relay itself. The socket does not change the relay's contact logic: it must reproduce the coil and contact pins of the exact relay.
A correct match therefore needs more than the same number of pins. Check the relay series, pin layout, contact arrangement, current and voltage ratings, coil-terminal positions, retaining clip, accessories, and mounting method.
Mounting and terminal style are not the same thing

When to choose a DIN-rail relay socket
DIN-rail sockets are usually the practical choice when field wires enter a cabinet and the relay must be inspected or replaced during service. The terminals remain fixed while the plug-in relay is removed. This makes labels, test access, and fault replacement easier than disturbing a wire harness or PCB.
- Choose screw terminals when the site's wiring practice, inspection routine, and available tools are built around screw clamping.
- Choose push-in terminals for faster production wiring and spring-pressure retention, provided the conductor type and preparation match the terminal instructions.
- Check side-by-side width across the full relay bank, including clips, jumpers, separators, and wiring duct clearance.
- Check replacement access so a relay can be removed without dismantling adjacent components.
When to choose a PCB relay socket
A PCB socket keeps the relay replaceable while allowing the surrounding control circuit to be assembled on a board. It can reduce point-to-point wiring in an OEM product, but the board becomes responsible for conductor width, spacing, heat, mechanical support, and the socket footprint.
Do not select a PCB socket by “8-pin” or “11-pin” alone. Two sockets with the same pin count may use a different circle diameter, keying, pin pitch, or contact assignment. Compare the relay base drawing and the socket PCB layout dimension by dimension.
When panel mounting makes sense
Panel or chassis mounting is useful for a fixed legacy layout, a bracketed assembly, or equipment without a DIN rail. Confirm whether the model is front-mounted, rear-mounted, or surface-mounted and whether the connection uses solder lugs or field terminals. “Panel mount” does not define one universal hole pattern.
Verified ZJWZJH (JINHONG) examples
The following examples show why the mounting method and contact arrangement must be read together. Values are taken from the current product records; check the exact product page and current datasheet before ordering.
| Model | Mounting / terminal | Contacts | Published rating | Product |
|---|---|---|---|---|
| 157F-1Z-C5 | 35 mm DIN rail; push-in terminals | 1 changeover (1 Form C) | 16 A, 300 V | View model |
| 10F-2Z-C4 | 35 mm DIN rail; screw terminals | 2 changeovers (2 Form C) | 12 A, 300 V | View model |
| 10F-3Z-A | PCB through-hole; solder pins | 3CO (3PDT), 11-pin | 10 A, 250 V AC | View model |
Relay socket selection workflow
- Start with the relay. Record the exact series, contact form, coil voltage, pin layout, and load rating.
- Match the socket mechanically. Confirm pin count, pin pattern, keying, relay height, and retention method.
- Choose mounting. Decide between DIN rail, PCB, or panel based on the equipment architecture and service plan.
- Choose connection method. Select screw, push-in, PCB pin, or solder connection using the approved conductor and assembly process.
- Check the lower rating. The usable circuit rating cannot exceed the lowest applicable rating among relay, socket, wiring, PCB traces, and protective device.
- Verify accessories and clearances. Include clips, marking, jumpers, protection modules, finger safety, and heat spacing.
- Check the drawing before releasing the BOM. A family name or pin count is not enough to freeze the footprint.
Common selection mistakes
Matching only the pin count: the pattern and assignment can still differ. Treating PCB and rear-panel mounting as the same: one needs a board footprint; the other needs a mechanical cutout or bracket. Ignoring wire access: a socket can fit the rail but leave no room for a screwdriver or conductor bend. Using the relay rating as the complete circuit rating: the socket and conductors can be the limiting parts.
Continue your selection
Browse all relay sockets, compare 157F push-in sockets, or review 10F PCB sockets. For connection methods, read screw vs push-in relay socket terminals. For pin assignments, see the 8-pin and 11-pin relay wiring guide.
FAQ
Is every DIN-rail relay socket a screw-terminal socket?
No. DIN rail describes how the socket is mounted, not how the wires are connected. ZJWZJH DIN-rail sockets include screw and push-in versions, and other families may use different connection methods. Check the terminal type on the product page.
Can a PCB relay be fitted to a DIN-rail socket?
Only when the relay and socket drawings explicitly match. “PCB relay” often describes the relay's own pins, while a plug-in relay intended for a socket uses a different base and retention arrangement.
What is the difference between a relay socket and a terminal block?
A relay socket accepts a specific relay and routes its coil and contacts to terminals. A terminal block only joins or distributes conductors and does not provide a plug-in relay interface.
Which mounting is easiest to service?
DIN-rail sockets are usually easiest for cabinet service because the wiring stays in place when the relay is replaced. The right answer still depends on access, labeling, spares, and the equipment design.