Here’s the wiring mistake that injures technicians and destroys equipment. A panel builder, rushing to finish a job, wires a DIN-rail power supply without disconnecting the protective earth properly, or reverses the DC output polarity, or skips the input fuse to save time. The result ranges from a damaged power supply to a destroyed PLC to — in the worst case — an energized enclosure that shocks the next person who touches it. Power supply wiring isn’t complicated, but it’s unforgiving of shortcuts. Get the sequence and safety practices right, and installation is straightforward and safe. Get them wrong, and you create hazards that surface later.
The good news: wiring a DIN-rail power supply correctly is a well-defined procedure. There’s a right sequence (load first, then AC input, then ground — or specific order per your standards), correct fusing (protecting the input), proper grounding (for safety and EMC), and verification steps (confirming everything before energizing). Follow the procedure and the installation is safe and reliable. The steps aren’t difficult; they just require discipline and respect for the voltages involved.
This guide is the step-by-step procedure for wiring a DIN-rail power supply safely. It covers mounting on the rail, connecting the AC input with proper fusing, wiring the DC output, establishing grounding, adjusting output voltage, and verifying the installation — plus the safety practices and common mistakes every panel builder should know. Whether you’re installing your first DIN-rail supply or training a team, this gives you the correct, safe procedure.
How do I wire a DIN-rail power supply?
Wire a DIN-rail power supply in this sequence: (1) turn off and verify main power is off, (2) mount the supply on the DIN rail with adequate clearance, (3) connect the protective earth ground, (4) connect the DC output to the load, (5) connect the AC input with proper fusing, (6) secure all connections in terminal blocks, (7) adjust output voltage if needed (power off), (8) verify all connections and grounding, then (9) restore power and confirm operation. Always follow safety practices — DIN-rail supplies connect to lethal AC mains voltage.
The complete wiring sequence:
Step 1 — Turn off and verify main power is off
Before any wiring, turn off the main power supply and verify it’s actually off with a meter. AC mains voltage (120V, 230V) can cause serious injury or death. Don’t assume the breaker is off — verify with a voltage meter at the terminals where you’ll work. This is the single most important safety step, and skipping it is how people get hurt.
The verification procedure
- Turn off the breaker or main disconnect
- Lock out / tag out if required (LOTO procedures)
- Verify with a voltage meter at the work location
- Confirm zero voltage before proceeding
Why verification matters
Breakers can be mislabeled, partially failed, or backfed from another source. Verifying with a meter confirms the actual voltage is zero, not just that you flipped a switch. This step prevents the most serious wiring accidents.
Lock-out / tag-out
For industrial installations, follow LOTO procedures:
- Lock the disconnect in the off position
- Tag it to indicate work in progress
- Prevent accidental re-energization while working
LOTO is required by safety regulations for many industrial installations.
Step 2 — Mount the supply on the DIN rail
Mount the power supply on the TS-35 DIN rail by hooking one side of the spring clip over the rail, then rotating the supply until the other side snaps into place — you’ll hear a click confirming it’s secured. Position the supply with adequate clearance above, below, and beside it for convection cooling. Mount it vertically (terminals up/down per manufacturer specification) to allow proper airflow.
The mounting procedure
- Hold the supply at a slight angle
- Hook the upper (or lower) clip over the rail edge
- Rotate the supply toward the rail
- Press until the spring clip snaps over the other rail edge
- Confirm the click — the supply is secured
- Verify it’s firmly mounted (gentle tug test)
Clearance for cooling
Fanless supplies need convection cooling:
- Clearance above and below (warm air rises)
- Spacing beside adjacent supplies (prevent heat concentration)
- Follow manufacturer’s minimum clearance specifications
- Don’t mount in sealed pockets
Inadequate clearance causes overheating and derating.
Mounting orientation
Most DIN-rail supplies are designed for vertical mounting (allows convection). Check the manufacturer’s specification — incorrect orientation reduces cooling and may require derating.
How do I ground a DIN-rail power supply?
Ground a DIN-rail power supply by connecting the protective earth (PE) terminal to the panel’s grounding system using appropriately sized green/yellow ground wire. The protective earth provides safety (fault current path) and EMC (noise reference). Connect the ground before other connections, ensure a solid low-resistance connection, and verify continuity to the building ground. Proper grounding is essential for both safety and electromagnetic compatibility.
Why grounding matters
The protective earth ground provides:
- Safety: fault current path that trips protection if a fault energizes the enclosure
- EMC: noise reference that helps the supply meet emission standards
- Equipment protection: stable ground reference for connected equipment
Without proper grounding, a fault could energize the enclosure (shock hazard) and EMC performance degrades.
The grounding procedure
- Identify the PE (protective earth) terminal (marked with ground symbol)
- Use green/yellow ground wire of appropriate gauge
- Connect PE terminal to the panel grounding system
- Ensure solid, low-resistance connection
- Verify continuity to building ground
Grounding best practices
- Use appropriate wire gauge (sized for fault current)
- Make solid mechanical connections (no loose grounds)
- Single-point grounding to avoid ground loops
- Verify continuity with a meter
- Don’t rely on the DIN rail alone for grounding (use dedicated PE wire)
EMC grounding
For EMC compliance, the ground connection:
- Provides the reference for EMI filtering
- Should be short and low-impedance
- Helps the supply meet emission standards
Proper grounding is part of achieving EMC compliance.
Step 4 — Connect the DC output to the load
Connect the DC output terminals (+V and −V, or +24V and 0V) to the load, observing correct polarity. Reversing polarity can damage connected equipment. Use appropriately sized wire for the current, secure connections firmly in the terminal blocks, and verify polarity before energizing. For multiple loads, distribute from the output terminals or use a distribution terminal block.
The DC output procedure
- Identify output terminals (+V and −V, marked clearly)
- Use appropriately sized wire for the load current
- Connect +V to the load positive
- Connect −V to the load negative/common
- Observe correct polarity (critical)
- Secure connections in terminal blocks
Polarity is critical
Reversing DC polarity can:
- Damage connected equipment (PLCs, sensors)
- Destroy polarity-sensitive devices
- Cause immediate failure on power-up
Always verify polarity before energizing. Double-check +V and −V connections.
Wire sizing for output
Size output wire for the load current:
- Higher current needs thicker wire
- Account for voltage drop over distance
- Follow wire ampacity ratings
- For 24V at moderate current, 18-20 AWG is typical
Multiple load distribution
For multiple loads:
- Distribute from the output terminals
- Use a distribution terminal block for organization
- Ensure total load is within supply rating
- Individual load protection if needed
How do I connect the AC input?
Connect the AC input by wiring Line (L) and Neutral (N) to the input terminals, with the AC input properly fused for protection. For universal-input supplies (85-264 VAC), the same terminals accept any voltage in range. Use appropriately sized wire, install an input fuse or circuit breaker sized per the manufacturer’s specification, secure connections firmly, and verify before energizing. The AC input carries lethal voltage — ensure main power is off during wiring.
The AC input procedure
- Verify main power is off (Step 1)
- Identify AC input terminals (L, N, and PE if separate)
- Connect Line (L) to the L terminal
- Connect Neutral (N) to the N terminal
- Ensure PE ground is connected (Step 3)
- Install input fuse/breaker (proper sizing)
- Secure connections firmly
Input fusing
The AC input must be fused for protection:
- Protects against input faults and fire
- Size per manufacturer specification
- Typically a slow-blow fuse (handles inrush)
- Or an appropriately rated circuit breaker
The fuse protects the wiring and prevents fire if the supply faults.
Universal input
For universal-input supplies (85-264 VAC):
- Same terminals accept 120V or 230V
- No voltage selection needed
- Some accept DC input too (check specifications)
Universal input simplifies global deployment — one supply works on any mains voltage in range.
AC input wire sizing
Size AC input wire for the input current:
- Input current = output power ÷ (efficiency × input voltage)
- Higher power or lower voltage = more input current
- Follow wire ampacity and local codes
What fuse do I need for a DIN-rail power supply?
Use an input fuse sized per the manufacturer’s specification, typically a slow-blow (time-delay) fuse rated to handle the supply’s inrush current while protecting against sustained faults. The fuse rating depends on the supply’s power and input voltage — calculate the input current and select a slow-blow fuse slightly above it (the manufacturer’s datasheet usually specifies the recommended fuse). The fuse protects the input wiring and prevents fire if the supply develops a fault.
Why slow-blow fuses
DIN-rail supplies have inrush current at startup (charging input capacitors):
- A fast fuse would trip on inrush
- A slow-blow (time-delay) fuse handles brief inrush
- But still protects against sustained faults
Slow-blow fusing handles the startup inrush while protecting against real faults.
Sizing the fuse
To size the input fuse:
- Calculate input current: Power ÷ (efficiency × input voltage)
- Account for inrush (slow-blow handles this)
- Select fuse slightly above steady-state input current
- Follow manufacturer’s recommendation (usually in datasheet)
For example, a 100W supply at 230V, 88% efficiency:
- Input current: 100 ÷ (0.88 × 230) = 0.49A
- Select a slow-blow fuse around 1-2A (per manufacturer spec)
Fuse vs circuit breaker
Either works:
- Fuse: simple, one-time (replace after fault)
- Circuit breaker: resettable, more convenient
For control panels, a circuit breaker (MCB) is often used for the input, providing resettable protection.
The manufacturer’s specification
Always follow the manufacturer’s fuse recommendation:
- The datasheet specifies recommended fuse rating and type
- This accounts for the specific supply’s inrush and characteristics
- Using the specified fuse ensures proper protection
How do I adjust the output voltage?
Many DIN-rail supplies have an output voltage adjustment (trim potentiometer) on the front panel, allowing fine adjustment of the output (typically ±10-20%). To adjust, turn off the load if possible, locate the adjustment potentiometer, and carefully turn it while monitoring the output voltage with a meter. Adjust to the desired voltage. Some adjustments should be made with power off for safety; others allow live adjustment — follow the manufacturer’s procedure.
When to adjust output voltage
Adjust output voltage to:
- Compensate for voltage drop over long wire runs (set slightly high)
- Match specific device requirements
- Optimize for the load
- Fine-tune within the adjustment range
The adjustment procedure
- Locate the voltage adjustment potentiometer (front panel)
- Connect a voltage meter to the output
- Carefully turn the potentiometer (small adjustments)
- Monitor the voltage as you adjust
- Set to the desired voltage
- Verify stability
Adjustment cautions
- Don’t exceed the adjustment range
- Make small adjustments and verify
- Account for voltage drop to the load
- Some supplies require power off for adjustment (check manual)
- Don’t adjust beyond load requirements
Voltage drop compensation
For long wire runs, set the output slightly high to compensate for voltage drop:
- Calculate voltage drop: Current × wire resistance
- Set output to deliver correct voltage at the load
- Verify voltage at the load, not just at the supply
Step 8 — Verify connections and grounding
Before restoring power, verify all connections: confirm correct polarity on DC output, secure connections in all terminal blocks (no loose wires), proper grounding with continuity to building ground, correct AC input wiring, and proper fusing. Use a meter to verify continuity and check for shorts. This verification step catches errors before energizing, preventing damage and hazards.
The verification checklist
Before energizing, verify:
- ☐ DC output polarity correct (+V and −V)
- ☐ All terminal connections secure (tug test)
- ☐ Protective earth grounded with continuity
- ☐ AC input wired correctly (L, N)
- ☐ Input fuse/breaker installed and rated correctly
- ☐ No loose wires or strands
- ☐ No shorts (meter check)
- ☐ Adequate cooling clearance
Why verification prevents problems
Verification catches:
- Reversed polarity (would damage equipment)
- Loose connections (would cause intermittent faults or shorts)
- Missing ground (safety hazard)
- Wiring errors (would cause failure on power-up)
Five minutes of verification prevents hours of troubleshooting and potential damage.
Meter checks
Use a meter to verify:
- Continuity of ground connection
- No short between output terminals
- No short between input and output
- Correct wiring before energizing
Step 9 — Restore power and confirm operation
After verification, restore main power and confirm the supply operates correctly: check the output voltage with a meter (should match the rated/adjusted voltage), confirm the load operates correctly, verify the supply isn’t overheating, and check any status indicators (DC OK LED, etc.). If anything is wrong, immediately turn off power and re-check the wiring.
The power-up procedure
- Complete all verification (Step 8)
- Restore main power (breaker on)
- Check output voltage with meter
- Confirm voltage matches expected value
- Verify the load operates correctly
- Check status indicators (DC OK, etc.)
- Confirm the supply isn’t overheating
What to check on power-up
- Output voltage correct
- Load operating properly
- No unusual heat
- No unusual sounds or smells
- Status indicators normal (green DC OK)
If something is wrong
If the power-up reveals problems:
- Immediately turn off main power
- Verify with meter that power is off
- Re-check the wiring against the procedure
- Identify and correct the error
- Re-verify before powering up again
Don’t troubleshoot a wiring error with power on — turn off, fix, verify, then re-energize.
Common DIN-rail wiring mistakes
Five mistakes that cause failures, damage, or hazards:
Mistake 1 — Not verifying power is off
Technician assumes the breaker is off without verifying, then contacts live AC. This is how serious injuries happen.
Fix: Always verify zero voltage with a meter before wiring. Never assume. Use LOTO procedures.
Mistake 2 — Reversing DC output polarity
Technician connects +V and −V backwards. The connected equipment (PLC, sensors) is damaged on power-up.
Fix: Verify polarity before energizing. Double-check +V and −V connections against the load requirements.
Mistake 3 — Skipping the input fuse
Technician omits the input fuse to save time. If the supply faults, there’s no protection — risking fire.
Fix: Always install proper input fusing per the manufacturer’s specification. The fuse prevents fire on fault.
Mistake 4 — Inadequate or missing grounding
Technician skips or poorly connects the protective earth. A fault could energize the enclosure, creating a shock hazard, and EMC suffers.
Fix: Always connect the protective earth solidly with verified continuity. Grounding is essential for safety and EMC.
Mistake 5 — Loose terminal connections
Technician doesn’t fully tighten terminal connections. Loose wires cause intermittent faults, arcing, and potential shorts or fire.
Fix: Secure all connections firmly. Verify with a tug test. Loose connections are a common cause of intermittent problems and hazards.
FAQs
What’s the correct sequence for wiring a DIN-rail power supply?
Turn off and verify power off, mount on rail, connect protective earth, connect DC output (correct polarity), connect AC input (with fuse), secure all connections, adjust voltage if needed (power off), verify everything, then restore power. Always verify power is off before wiring.
Do I need to ground a DIN-rail power supply?
Yes. The protective earth ground provides safety (fault current path), EMC (noise reference), and equipment protection. Connect the PE terminal solidly to the panel grounding with verified continuity. Skipping grounding creates shock hazards and degrades EMC.
What happens if I reverse the DC output polarity?
Reversing +V and −V can damage or destroy connected equipment (PLCs, sensors) on power-up. Always verify polarity before energizing. Many devices are polarity-sensitive and fail immediately with reversed polarity.
What fuse do I need?
A slow-blow (time-delay) fuse sized per the manufacturer’s specification — it handles the supply’s inrush while protecting against sustained faults. Calculate input current and select a slow-blow fuse slightly above it, following the datasheet recommendation.
Can I wire a DIN-rail supply with power on?
No. AC mains voltage is lethal. Always turn off and verify zero voltage with a meter before wiring. Use lock-out/tag-out procedures. Never wire AC connections with power on.
How do I adjust the output voltage?
Locate the voltage adjustment potentiometer (front panel), connect a meter to the output, and carefully turn the potentiometer while monitoring voltage. Adjust within the range (typically ±10-20%). Follow the manufacturer’s procedure regarding power on/off during adjustment.
What wire size do I need?
Size wire for the current: AC input wire for input current, DC output wire for load current. Higher current needs thicker wire. For 24V at moderate current, 18-20 AWG is typical. Follow wire ampacity ratings and local codes.
How do I mount the supply on the DIN rail?
Hold at an angle, hook one clip over the rail edge, rotate toward the rail, and press until the spring clip snaps over the other edge (you’ll hear a click). Ensure clearance for cooling and verify it’s firmly mounted.
Why is my power supply overheating?
Likely inadequate cooling clearance, overload, or high ambient temperature. Ensure proper clearance for convection, verify the load is within rating, check ambient temperature and derating. Fanless supplies need adequate spacing for convection cooling.
Can the same terminals accept different AC voltages?
For universal-input supplies (85-264 VAC), yes — the same terminals accept 120V or 230V without selection. Some also accept DC input. Check the specifications for the input range and AC/DC capability.
Do I need a disconnect switch?
For safety and maintenance, a disconnect switch (or the panel main disconnect) allows safely de-energizing the supply for service. Many installations include a disconnect for the control power. It’s good practice for safe maintenance.
How do I verify the installation is correct?
Before energizing: verify DC polarity, secure connections (tug test), grounding continuity, correct AC wiring, proper fusing, no shorts (meter check), and cooling clearance. After energizing: verify output voltage, load operation, no overheating, normal status indicators.
Related guides
- DIN-Rail Power Supply: The Complete Guide for Industrial Control Panels Pillar guide covering DIN-rail fundamentals.
- How to Size a DIN-Rail Power Supply for a PLC Control Panel Sizing before installation.
- 12V vs 24V vs 48V DIN-Rail Power Supply Voltage selection and output wiring.
- Redundant DIN-Rail Power Supply Setup Wiring redundant systems.
- DIN-Rail Power Supply with Battery Backup (DC-UPS) Wiring DC-UPS systems.
- DIN-Rail EMC and EMI Compliance Grounding and EMC during installation.
- Why 24V DC is the Industrial Standard The voltage standard you’re wiring.
- How to Wire a Toroidal Transformer Step by Step Related transformer wiring guide.
References and further reading
- IEC 62368-1 — Audio/Video, Information and Communication Technology Equipment Safety.
- UL 508A — Standard for Industrial Control Panels.
- NEC Article 409 — Industrial Control Panels.
- NEC Article 250 — Grounding and Bonding.
- IEC 60364 — Low-voltage electrical installations.
- NFPA 70E — Standard for Electrical Safety in the Workplace (LOTO, arc flash).
- IEC 60446 — Wiring color identification.
5 Responses