1. Bubuka
The Makerbase MKS SERVO42D is a high-performance closed-loop stepper motor driver designed for NEMA17 stepper motors. It offers precise control over position, speed, and torque, making it ideal for applications such as CNC machines and 3D printers. This driver supports multiple communication interfaces including Pulse Signal, RS485, and CAN, providing flexibility for various control systems. Its Field-Oriented Control (FOC) ensures quiet and efficient operation.

Figure 1: Makerbase MKS SERVO42D NEMA17 Closed Loop Stepper Motor Driver
2. Fitur Produk
- Supports 6 working modes: Pulse interface (open loop, closed loop, FOC mode), Serial interface (open loop, closed loop, FOC mode).
- Integrated CAN/RS485 communication interfaces.
- Supports MODBUS-RTU communication protocol.
- Features curve acceleration and deceleration control.
- Supports limit switch functionality with return to zero.
- Offers speed mode, relative position, and absolute position control modes.
- Adjustable subdivision from 1 to 256, with arbitrary working current settings.
- Maximum input pulse frequency of 160KHz and a maximum speed of 3000RPM.
- Supports multiple motor synchronous working modes.
- Durable aluminum alloy shell for improved heat dissipation and wear resistance.

Figure 2: Key Features of MKS SERVO42D
3. Eusi Paket
The standard package for the MKS SERVO42D (RS485 MB variant) typically includes the following components. Please note that the motor is not included and must be purchased separately.
- MKS SERVO42D RS485 MB Driver (Motor not included)
- Cross screws (M3*45) x4
- 6*2.5 Radial Magnet x1
- ABS gasket (3mm) x4
- Mini jumper 2.0 PINHD-2X1 (Closed Height 5.0MM) x1
- Motor cable (PH-2.00-4P single end cable length 30mm) x1
- Cable XH2.54-6Pin 100cm (single end tinned 5mm) x1
- MKS APT x1
- Aluminum shell x1
- Heat dissipation silicone pad x1

Figure 3: Typical Package Contents for MKS SERVO42D
4. Spésifikasi
| Parameter | MKS SERVO42D_RS485 | MKS SERVO42D_CAN |
|---|---|---|
| Jenis dewan | MKS SERVO42D_RS485 | MKS SERVO42D_CAN |
| Mikroprosesor | N32L403 (Cortex-M4) | |
| MOSFET | AP4008QD (40V, 20A) | |
| Encoder | 14bit magnetic encoder | |
| Pagawean voltage | 12V-24V | |
| Gawé ayeuna | 0-3000mA | |
| Frékuénsi update | Torque 20KHz, Velocity 10KHz, Position 10KHz | |
| Laju maksimum | 3000RPM+ | |
| Babagian | 1~256 (standar 16) | |
| Geter motor | Lemah | |
| Bising motor | Lemah | |
| Suhu motor | Lemah | |
| Pulse Signal Common | Positip | |
| Pulse Signal Frequency | Max 160KHz | |
| Interface transceiver | SP485EEN-L/TR | TJA1051T/3/1J |
| Laju panganteur | 9600/19200/.../115200/256000 | 125K/250K/500K/1M |
| Interface Address | 1 broadcast address, 255 slave addresses | 1 broadcast address, 2047 slave addresses |

Figure 4: MKS SERVO42D Product Parameter Table
5. Setélan
5.1. Léngkah Majelis
- Install the radial magnet to the axis of the motor and fix it with glue.
- Carefully tear off the protective film from the motherboard OLED screen.
- Paste the heat dissipation silicone pad onto the position of the Mos tubes, ensuring all Mos tubes are covered.
- Insert the MKS SERVO42D into the aluminum shell. Secure it using the provided Phillips pan head screws (M3*45) and ABS gaskets (3mm).
- Use four Phillips pan head screws (M3*45) to firmly fix the aluminum shell. Ensure the 4P terminal is aligned with the direction of the motor wire.
- Connect the four motor wires to the 4P screw terminal following the sequence: Red (A+), Black (A-), Blue (B+), Green (B-).

Figure 5: MKS SERVO42D Assembly Steps
5.2. Magnet and Encoder Distance Requirements
For optimal performance and accurate angle sensing, maintain a gap between the magnet and the encoder chip parallel to the motor shaft. The recommended gap is between 0.5mm and 3.0mm. A smaller gap generally yields better results and reduces angle error. The center of the magnet should be aligned with the sensing center of the magnetic encoder chip, with a deviation within ±0.3mm to avoid affecting absolute angle accuracy.

Figure 6: Magnet and Magnetic Encoder Distance Requirements
5.3. Diagram Kabel
Proper wiring is crucial for the functionality of the MKS SERVO42D. Always ensure correct connections and observe polarity. For bus communication (RS485/CAN), use shielded twisted pairs to minimize interference. The host-GND and motor-GND must be connected together.
5.3.1. RS485 Interface Wiring
The MKS SERVO42D RS485 interface can be used in single-machine or multi-machine configurations. For single slave communication, a 120 ohm terminal resistor is not required.

Figure 7: MKS SERVO42D RS485 Single-Machine and Multi-Machine Wiring
5.3.2. CAN Interface Wiring
Similar to RS485, the CAN interface supports both single-machine and multi-machine setups. For single slave communication, a 120 ohm terminal resistor is not needed.

Figure 8: MKS SERVO42D CAN Single-Machine and Multi-Machine Wiring
5.3.3. Pulse Interface Wiring
When using the pulse interface, ensure the COM signal voltage matches the signal level of the STP (Step), DIR (Direction), and EN (Enable) signals. For example, if the STP/DIR/EN signal level is 3.3V, COM must be 3.3V. If the signal level is 5.0V, COM must be 5.0V.

Figure 9: MKS SERVO42D Pulse Interface Wiring
5.3.4. Limit Switch Connection
The MKS SERVO42D defaults to using an NPN type limit switch. Connect the limit switch according to the provided diagram for your specific interface (RS485 or CAN).

Figure 10: MKS SERVO42D Product Interface with Limit Switch Connections
6. Operasi
The MKS SERVO42D can be controlled using various methods depending on the chosen interface (Pulse, RS485, CAN). For convenient control and monitoring, Makerbase provides an MKS Control Tool. This tool allows users to start and stop the motor, adjust speed, and set acceleration parameters.
Video 1: MKS SERVO42D Demonstration Operation with Control Tool
For detailed instructions on using the MKS Control Tool and configuring various working modes, please refer to the official user manual available on the Makerbase GitHub repository.
7. Pangropéa
To ensure the longevity and optimal performance of your MKS SERVO42D driver, follow these general maintenance guidelines:
- Keep the driver clean and free from dust and debris. Use compressed air or a soft brush for cleaning.
- Ensure adequate ventilation around the driver to prevent overheating. The aluminum alloy shell is designed for heat dissipation, but proper airflow is still important.
- Avoid exposing the driver to moisture or corrosive environments.
- Regularly check all wiring connections to ensure they are secure and free from damage. Loose connections can lead to intermittent operation or damage.
- Inspect the heat dissipation silicone pad periodically to ensure it is still properly seated and providing good thermal contact.
8. Cara ngungkulan
- Motor not moving or erratic movement: Check all power connections and ensure the working voltage is within the 12V-24V range. Verify that the motor wires are connected in the correct sequence (A+, A-, B+, B-). Confirm that the control signals (Pulse, RS485, CAN) are correctly wired and configured.
- Supir panas teuing: Ensure sufficient airflow around the driver. Check if the heat dissipation silicone pad is correctly installed. Verify that the motor current settings are appropriate for your motor and application.
- Communication issues (RS485/CAN): Ensure the host-GND and motor-GND are connected. Use shielded twisted pair cables for RS485/CAN signals to reduce interference. Verify baud rates and addresses are correctly configured.
- Limit switch not functioning: Confirm that an NPN type limit switch is used and wired correctly according to the interface diagram. Check the limit switch's functionality independently.
- Motor compatibility: The MKS SERVO42D is designed for NEMA17 stepper motors. While it supports various step angles, always verify compatibility with your specific motor's electrical characteristics.
9. Tips pamaké
- For optimal performance and to reduce bus interference, always connect the host-GND and the motor-GND together.
- When using RS485 or CAN communication, transmit signals using shielded twisted pairs to ensure signal integrity.
- Pay close attention to the motor wire sequence during assembly: Red for A+, Black for A-, Blue for B+, and Green for B-.
- When using the pulse interface, ensure the COM voltage matches the signal level of your STP/DIR/EN signals (e.g., 3.3V COM for 3.3V signals).
- The MKS SERVO42D is a closed-loop driver, which means it provides feedback for position correction, leading to higher accuracy and preventing step loss compared to open-loop systems.
10. Jaminan & Dukungan
For detailed warranty information and technical support, please refer to the official Makerbase website or contact their customer service. Additional resources, including the user manual and schematics, can be found on the Makerbase GitHub repository:





