HS57 — Digital Hybrid Stepper Servo Driver
The HS57 is a hybrid stepper servo driver for closed loop stepper motors. It runs from 20–50 VDC and takes step and direction pulses up to 200 kHz. An encoder tells the driver where the shaft really is, which helps stop lost steps. You can also set current, microstepping and mode from a PC.
Supply
20–50 VDC
36 V recommended
Step input
200 kHz
Higher on request
Microstepping
200–40,000
By PC or DIP switch
Feedback
Encoder A/B
With a 5 V encoder supply
Ratings here are taken from the Apexwell Motor HS57 specifications. Always compare them with your motor datasheet before wiring or powering up.
Where the HS57 fits
Use it on axes that need steady, quiet motion and some protection against lost steps. Your controller sends pulse and direction signals. The driver closes the loop with the encoder. Typical jobs:
CNC and positioning axes
Linear motion stages
Automated machinery
Precision positioning
OEM motion equipment
Motors that fit
The HS57 is the usual match for closed loop NEMA 17 and NEMA 23 motors. See our closed loop AW42HS and closed loop AW57HS motors, or browse the closed loop stepper motor collection. For closed loop NEMA 34 motors, use the HS86 instead.
Set the motor current in the PC software. Use the rated current from your motor's datasheet.
What sets the HS57 apart
Servo-like control
A 32-bit DSP runs the loop. You get the steady feel of a servo, but setup stays as simple as a stepper.
Set it from a PC
MODBUS-RTU over RS232 lets host software choose any resolution between 200 and 40,000 per turn, plus the operating mode.
Cooler, quieter motor
Fine current control lowers motor heat. Low vibration at low speed and a calm stop keep the machine quiet.
Idle cut and protection
The current halves when the shaft is still. The driver guards against overvoltage, undervoltage and overcurrent, and it flags position error.
Specifications
Electrical
| Parameter | Min | Typical | Max | Unit |
|---|---|---|---|---|
| Supply voltage | 20 | 36 | 50 | VDC |
| Signal input current | 7 | 10 | 16 | mA |
| Step pulse frequency | 0 | – | 200 | kHz |
| Insulation resistance | 50 | – | – | MΩ |
Control and protection
| Supported motors | Two-phase hybrid steppers fitted with an encoder. SW3 selects the 42 mm class or the 57 mm class and up |
|---|---|
| Control chip | 32-bit DSP, with MODBUS-RTU over RS232 |
| Resolution | Sixteen DIP presets, or any value from 200 to 40,000 set by PC |
| Inputs | Opto-isolated differential inputs for 5 to 24 V signals |
| Feedback | Encoder A and B channels, 5 V encoder supply |
| Outputs | In-position (PEND) and alarm (ALM), 50 mA maximum each |
| Protection | Overvoltage, undervoltage, overcurrent and position error alarm |
| At standstill | Current drops by half on its own |
Environment
| Cooling | Natural cooling or a fan |
|---|---|
| Operating temperature | 0–50 °C |
| Storage temperature | −20 to 65 °C |
| Humidity | 40 to 90% relative humidity |
| Vibration | 10 to 55 Hz, 0.15 mm |
Keep the driver clear of heat sources, dust, oil mist, corrosive gas, damp air and heavy vibration. Do not use it where flammable gas or conductive dust is present.
Dimensions
These sizes are read from the factory drawing. Compare them with your own drawing before you machine a mounting plate.

| Overall size | 116 mm long, 69.2 mm wide, 26.5 mm deep |
|---|---|
| Mounting slots | Four slots, each 5 mm wide |
| Slot spacing | 109 mm apart along the length |
| Slot position | 19.5 mm and 47.5 mm from the left edge (front view) |
DIP switch settings
Ten DIP switches sit on the case. SW1–SW4 set the basics, SW5–SW8 set the microstepping, and SW9–SW10 set the operating mode. The tables below repeat the case label. Change the switches only with the power off. Values set from a PC override the switches.
Basic settings (SW1–SW4)
| SW1 Output signal | Off: normally open. On: normally closed. |
|---|---|
| SW2 Control mode | Off: mode A. On: mode B. |
| SW3 Motor size | Off: 42 mm and smaller. On: 57 mm and larger. |
| SW4 Direction | Off: counterclockwise. On: clockwise. |
Microstepping (SW5–SW8)
| Pulses / rev | SW5 | SW6 | SW7 | SW8 |
|---|---|---|---|---|
| 400 | on | on | on | on |
| 800 | off | on | on | on |
| 1,600 | on | off | on | on |
| 3,200 | off | off | on | on |
| 6,400 | on | on | off | on |
| 12,800 | off | on | off | on |
| 25,600 | on | off | off | on |
| 51,200 | off | off | off | on |
| 1,000 | on | on | on | off |
| 2,000 | off | on | on | off |
| 4,000 | on | off | on | off |
| 5,000 | off | off | on | off |
| 8,000 | on | on | off | off |
| 10,000 | off | on | off | off |
| 20,000 | on | off | off | off |
| 40,000 | off | off | off | off |
A higher resolution gives smoother motion but needs more pulses per turn. At 10,000 pulses per revolution, a 200 kHz input drives 20 turns a second (1,200 rpm). Choose the lowest resolution that stays smooth enough.
Operating mode (SW9 and SW10)
| SW9 / SW10 | Mode |
|---|---|
| off off | Pulse and direction |
| on off | Pulse and direction with smoothing |
| off on | CW / CCW (double pulse) |
| on on | Auto pulse rotation. The driver makes its own pulses. |
Wiring
Control signals
All three inputs run on 5 V to 24 V signals.
| Pin | What it does |
|---|---|
| PLS+ / PLS− | Pulse input. One pulse moves the motor one microstep. Keep the pulse width above 2 μs for a sure response. |
| DIR+ / DIR− | Direction input, a high or low level. Apply it at least 5 μs ahead of each pulse to avoid a missed reversal. |
| ENA+ / ENA− | Enable input. Put ENA+ at +5 V with ENA− low and the driver releases the motor: current to both phases is cut and pulses are ignored. This also clears a position error alarm. Leave the pins open when unused. |
To reverse the first direction of travel, swap the leads of one phase, such as A+ and A−.
Outputs
| Pin | What it does |
|---|---|
| PEND+ / PEND− | In-position signal. It turns on when the motor reaches the commanded position. Connect PEND+ to the positive of your output supply through a pull-up resistor, and PEND− to a controller input. Maximum 50 mA. |
| ALM+ / ALM− | Alarm signal. It turns on for overcurrent, overvoltage, undervoltage or position error. Wire it the same way as PEND. Maximum 50 mA. |
Encoder
| Pin | What it does |
|---|---|
| PA+ / PA− | Encoder A channel input. Check the wire order. |
| PB+ / PB− | Encoder B channel input. Check the wire order. |
| VCC | Encoder 5 V supply, positive |
| EGND | Encoder 5 V supply, negative |
Power and motor
| Pin | What it connects to |
|---|---|
| GND | DC power ground |
| +VDC | DC power positive, 20–50 V. We recommend 36 V. |
| A+ / A− | Motor phase A winding. Check the wire order. |
| B+ / B− | Motor phase B winding. Check the wire order. |
Suggested wiring order
Switch all power off first.
Connect the motor coils: phase A to A+ and A−, phase B to B+ and B−.
Connect the encoder to PA, PB, VCC and EGND, and check the wire order.
Feed the DC supply into +VDC and GND. 36 V is the best choice.
Wire PLS, DIR and, if you use it, ENA to your controller.
Switch on and look for the PWR light.
Wiring diagram
The terminals are drawn in the same order as on the case label. The controller connects to the top block, the encoder and motor to the middle blocks, and the supply to the bottom pair.

To find the coil pairs on a 4-, 6- or 8-wire motor, follow our stepper motor wiring guide.
The case has two lights, PWR and ALM. If the ALM light comes on, switch the power off, check the supply voltage and the motor and encoder wiring, then try again.
Serial port (RS232)
Use the RJ12 jack to link the driver to a PC. You need the dedicated serial cable and a USB-to-TTL adapter. Always power the driver down before you plug in or pull out the cable. The host software then sets the current, the microstepping, the operating mode and more.
| Terminal | Signal | Notes |
|---|---|---|
| 1 | GND | RS232 ground, 0 V |
| 2 | TXD | RS232 transmit |
| 3 | NC | Internal use. Leave unconnected. |
| 4 | RXD | RS232 receive |
| 5, 6 | NC | Internal use. Leave unconnected. |
HS57 or a DM driver?
The DM drivers run open loop motors. The HS57 and HS86 add the encoder loop. Pick by motor type and size.
| Driver | Best for |
|---|---|
| DM422 | Open loop 42 mm motors up to 2.2 A |
| DM556 | Open loop motors from 42 to 86 mm, up to 5.6 A |
| DM860H | Open loop motors from 57 to 110 mm, up to 7.2 A, PC setup |
| HS57 | Closed loop motors in NEMA 17 and NEMA 23 sizes (this page) |
| HS86 | Closed loop NEMA 34 motors |
Not sure which one you need? The driver guide lists the pairings for every motor size.
HS57 questions
Do I need an encoder?
Yes, for closed loop use. The encoder A and B channels go to the PA and PB pins. Use a closed loop motor that has an encoder, and check the wire order.
Which supply voltage should I use?
The range is 20–50 VDC. We recommend 36 V.
How do I set the microstepping?
Use SW5–SW8 for one of the sixteen presets. For any other value from 200 to 40,000, use the PC software.
How do I link the driver to a PC?
Use the RJ12 port, the serial cable and a USB-to-TTL adapter. Power the driver off before you connect.
What do PEND and ALM tell me?
PEND turns on when the motor reaches the commanded position. ALM turns on for overcurrent, overvoltage, undervoltage or position error.
Which driver goes with closed loop NEMA 34 motors?
Use the HS86. The HS57 is for closed loop NEMA 17 and NEMA 23 motors.
Not sure which motor and driver to pair? Send us your motor model, supply voltage and load. We will check the match.
Ask an Apexwell Motor engineer →Related reading
Please note: The information on this page is for reference only. The drawings or product manual delivered with the product are the final authority.



