MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Wiring rotary encoders to servo drives
HomeModels
Table of contents

On this page

Sensors & Detection (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Wiring rotary encoders to servo drives

Encoder-to-drive wiring lives or dies on three things: differential pairing, shield earthing and phase convention - wrong anywhere means alarms at best, runaways at worst. Universal rules and a line-by-line checklist below.

1. How it works

The standard cable set for an incremental encoder on a servo drive: differential pairs A+ A-, B+ B-, Z+ Z-, encoder supply +5V and 0V on heavier conductors to limit drop over distance, plus U/V/W phase signals where the motor is permanent-magnet and the drive commutates from them (matched at the factory - return them to their original pins after service). Wire de-energised, per the drive manual pinout, pairs twisted together and routed as pairs, shield clamped into the connector shell and earthed at the drive side, and the 5V supply measured at the encoder end no lower than 4.5V under load.

2. Practice and pitfalls

Shield and distance rules: one earth point only, at the drive end - encoder end floating or capacitor-coupled; cable ducted 100mm from power lines with right-angle crossings; length within the drive manual limit, typically 20~50m differential, with repeaters or reduced frequency beyond; drive earth to the machine grid within 4 ohms. Cable capacitance of roughly 100pF per metre softens differential edges on overlong runs, and high-speed counts vanish first. Meter checks after wiring: no supply-to-earth short, continuity within each pair, no continuity between pairs. Then verify phases: hand-rotate and watch the drive count increase in the positive direction (per its convention), swapping one A-pair wire if not; run a slow homing to prove the Z polarity and width; and the first powered run happens at 10 percent speed through forward and reverse, speed feedback matching actual rotation, before any speed increase. Archive the drawing, phase results and earth point - after a motor swap the record halves the re-commissioning time.

3. Encoder-to-drive wiring checklist

ItemRequirementVerification
Differential pairsTwisted together, pairs kept separateContinuity in pair, none between pairs
Shield earthingSingle point at the drive endOnly one earth path measures
Supply dropAbove 4.5V at the encoder endMeasure loaded
Routing distance100mm from power linesWalk the cable path
Direction conventionCount increases forwardHand-rotate; swap one pair if reversed
First power-up10% speed, forward and reverseFeedback matches rotation

4. Notes

The wiring mantra: pairs together, shield earthed once, direction verified, speed capped. Do those four and the runaway and alarm risks collapse; update the drawing and archive after every change, and diagnosis time on that machine halves.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Servo interfaces and control circuits per GB/T 5226.1 (IEC 60204-1); differential transmission per the IEC 61158 series. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① Earthing the shield at the encoder end too:Ground loops drift position with every start - one earth point at the drive side
② Long thin supply leads:Below 4.5V the encoder resets in service - use heavier conductors and measure the far end
③ Splitting differential pairs across separate runs:Crosstalk eats high-speed counts - keep A+ with A- twisted, the whole way

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL