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.
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.
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.
| Item | Requirement | Verification |
|---|---|---|
| Differential pairs | Twisted together, pairs kept separate | Continuity in pair, none between pairs |
| Shield earthing | Single point at the drive end | Only one earth path measures |
| Supply drop | Above 4.5V at the encoder end | Measure loaded |
| Routing distance | 100mm from power lines | Walk the cable path |
| Direction convention | Count increases forward | Hand-rotate; swap one pair if reversed |
| First power-up | 10% speed, forward and reverse | Feedback matches rotation |
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.
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.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.