Stepper wiring looks confusing until you group the coils by resistance. This page tells two-phase four-wire from four-phase five-wire, shows how to set driver current, and lists the fastest way to prove the phase order on the bench.
A two-phase four-wire motor brings out both ends of each coil, A+, A−, B+ and B−, with no common terminal, and needs a bipolar drive. A four-phase five-wire motor shares one common return, typically driven unipolar with the common tied to supply positive and each phase pulled low in turn. Identify coils with an ohmmeter: the two ends of one phase read the coil resistance, different phases read about twice that, and in five-wire motors the lead reading half resistance to all others is the common.
Set driver current to 80 to 100 percent of the motor rating, say 1.6 to 2 A for a 2 A NEMA 17 run continuously. Series connection doubles resistance, halves current and quadruples inductance, smoothing low-speed torque; parallel doubles current and halves inductance for speed. Microstepping at 16 turns a 1.8 degree motor into 0.1125 degree steps and calms low-frequency vibration, but adds no holding torque. Chopper drives run at 5 to 20 times motor voltage, so 24 V is typical for NEMA 17 frames.
Bench procedure: group and tag the leads dead, connect A and B as drawn, jog slowly and swap one coil pair if the direction is wrong, then raise current stepwise while feeling the case. Around 80 C surface temperature is normal for steppers in continuous duty, not a fault. Twisted shielded pairs for pulse lines, routed away from power cables, prevent the lost-step hunts that otherwise waste an afternoon.
| Type | Leads | Drive mode | Common handling |
|---|---|---|---|
| Two-phase four-wire | A±, B± | Bipolar chopper | No common |
| Four-phase five-wire | Four phases + common | Unipolar | Common to supply positive |
| Four-phase six-wire | Centre taps brought out | Uni or bipolar | Tap floating for bipolar use |
| Four-phase eight-wire | Independent coil ends | Series or parallel | Series low speed, parallel fast |
| Three/five-phase | Per phase leads | Matching driver | Follow manual phase table |
Prefer two-phase four-wire with a bipolar drive in new designs, since unipolar use leaves half the copper idle. After wiring, prove the phase order at low speed unloaded, around 60 r/min, before loading up; a rush to full speed is the usual way drivers get killed.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: See GB/T 20638 for stepper motor specifications and IEC 60204-1 for safety of the drive system. 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.