Note: there are two version of MKS servo 42D, If you get the MKS Servo 42D CAN(blue port), please visit the tutorial link: https://osoyoo.com/?p=60953

Content

Description

The MKS SERVO42D RS485 closed-loop stepper motor is a product independently developed by the Maker Base to meet market demands. It features a pulse interface and an RS485 interface, a built-in high-efficiency FOC vector algorithm, and a high-precision encoder. Through position feedback, it effectively prevents step loss. It is suitable for applications such as small robotic arms,3D printers, engraving machines, writing machines, automation products, and e-sports competitions.

Key Features

  1. Supports 6 operating modes: pulse interface (open loop, closed loop, FOC mode) and serial interface (open loop, closed loop, FOC mode);
  2. High-performance FOC vector control algorithm, torque, speed, and position three-loop control;
  3. It supports curved acceleration and deceleration, resulting in smoother motor start-up and stopping:
  4. Supports single-turn zeroing function, origin switch zeroing function, and mechanical limit switch zeroing function;
  5. Supports left and right limit functions;
  6. Supports direct setting of the midnight time;
  7. Supports both relative and absolute position control modes;
  8. Supports any number of subdivision steps from 1 to 256;
  9. Built-in 256-step subdivision interpolation algorithm, ultra- quiet motor operation, ultra-low vibration;
  10. Maximum input pulse frequency: l6okHz; maximum speed: 3000RPM+.
  11. Motor angle information is updated in real time (motor enabled or disabled);
  12. Onboard industrial- grade high-precision l6384-line magnetic encoder;
  13. 42D board has four high-power MOSFETs, 40V/20A.
  14. Onboard RS-485 interface, 256 slave addresses, and supports broadcast and packet addresses.
  15. Supports MODBUS-RTU communication protocol;
  16. Maximum operating current 5.2A, MOSFET continuous operating current 46A;
  17. Onboard OLED display and buttons allow for easy parameter modification with automatic saving and immediate effect.
  18. It has built-in stall protection function;
  19. Features encoder self-calibration function;
  20. One-click quick factory reset;
  21. High-speed performance is stable, operation is smooth and vibration-free, and emergency stop is possible;
  22. The integrated aluminum alloy casing provides effective heat dissipation and ensures more stable continuous high-current operation of the motor.
  23. Provides an open-source host computer and STM32/Arduino usage examples;
  24. User manual: http://osoyoo.com/picture/2023003000/RS485/RS485_User_Manual.pdf

Interface

Size

FAQ

Q1: How can I reduce communication interference on the serial bus (RS485/CAN)?
A1: To minimize interference and ensure stable communication, the controller (host) and the motor must share a common ground (GND). In addition, RS485/CAN signals should be transmitted using shielded twisted-pair cables. Proper grounding and shielding significantly improve noise immunity, especially in electrically noisy industrial environments.

Q2: Why does the motor fail during initial calibration, and how can I fix it?
A2: The motor is powered by 24V, and in some cases, the initial calibration may fail under this voltage. You can resolve this issue using either of the following methods: