MKS-DLC32

MKS DLC32 motherboard kit, which is an offline engraving master control kit developed
 for desktop engraving machines. The hardware is equipped with a 32-bit high-speed ESP32
module, integrated WIFI function, and directly drives a 3.5-inch touch color screen; it can
realize fast engraving and WEB web pages. Control, mobile phone APP control and other functions.
The mounting holes and board size of MKS DLC32 are compatible with MKS DLC, and the
 it can also be used with the LaserGRBL and LightBurn PC software.
main

Related tutorials and Notice

Product introduce video: https://www.youtube.com/watch?v=U_OzlMxwms8&t=6s
Basic usage for laser engraving machine: https://www.youtube.com/watch?v=MKRBYVbxJmw&t=139s

Purchase link

Aliexpress: https://www.aliexpress.com/item/1005003183498253.html?spm=a2g0o.store_pc_home.productList_8356958.pic_0

HARDWARE

interface

Compare between MKS DLC and MKS DLC32

ITEMSMKS DLCMKS DLC32
MCUATMEGA328P ( 8bits)ESP32-WROOM-32U( 32bits)
MCU Freq.20MHz240MHz
FLASH32KBytes8192KBytes
RAM32KBytes520KBytes
Power InputDC 12v/24vDC12v/24v
Laser Speed<=3000mm/min<=8000mm/min
PC engravingSupportSupport
Offline ModeNot SupportSupport
LCDNot SupportSupport,3.5 inch Touch TFT
WiFi On BoardNot SupportSupport
Web ControlNot SupportSupport
Mobile APP ControlNot SupportSupport
LaserGRBLSupportSupport
LightBurnSupportSupport

FIRMWARE

There are several compiled firmwares that can be downloaded here:
For Laser, normal machine
For Laser, CoreXY machine
For CNC, normal machine(For beta)
For CNC, CoreXY machine(For beta)
The firmware of MKS DLC32 has been burned with laser normal machine before leaving the factory. If you need to update the firmware, you can follow the update instructions here.

Mobile App

We have developed MKSLaser, the App for mobile phone, which can connect to MKS DLC32, control movement, edit image, upload files and so on. Now the Android verison has been uploaded to Google Play. And the one for IOS is still under development. H20730396e9f9417b8b05651f1d692a73x

CONFIGRATION

When you want to use MKS DLC32 to install to a new machine, you generally need to configure parameters to fit your engraving machine.
There are two ways to configure parameters, one is to configure through the configration file, and the other is to configure through the PC software.

Configure through configuration files

  1. Download the configuration file "dlc_cfg.txt" from MKS GITHUB: https://github.com/makerbase-mks/MKS-DLC32/tree/main/firmware
  2. Modify the corresponding configuration items according to your engraving machine needs. For specific parameters configrations you can refer to Parameters configuration
  3. Save "dlc_cfg.txt" and copy to TF card.
  4. Insert the TF card to DLC32 motherboard, restart it, and it will be automatically configured.

Configure through PC software

  1. Use a USB cable to connect the DLC32 to the PC
  2. Open the LaserGRBL software or LightBurn or other serial tools on the PC (the default baud rate is 115200)
  3. Modify the configuration items. For specific configuration commands, please refer to Parameters configuration

Parameters configuration

You can use PC software such as GRBLaser to config the parameters by sending commands, here is the list:  xxxxx

COMMANDSPARAMETERSDESCRIPTION
$010Sets time length per step. Minimum 3usec.
$15Sets a short hold delay when stopping to let dynamics settle before disabling steppers. Value 255 keeps motors enabled with no delay.
$20Inverts the step signal. Set axis bit to invert (00000ZYX). The details can refer to XYZ-TABLE
$31Inverts the direction signal. Set axis bit to invert (00000ZYX). The details can refer to XYZ-TABLE
$40Inverts the stepper driver enable pin signal.
$51Inverts the all of the limit input pins.
$60Inverts the probe input pin signal.
$101Alters data included in status reports.
$110.01Sets how fast Grbl travels through consecutive motions. Lower value slows it down.
$120.002Sets the G2 and G3 arc tracing accuracy based on radial error. Beware: A very small value may effect performance.
$130Enables inch units when returning any position and rate value that is not a settings value.
$200Enables soft limits checks within machine travel and sets alarm when exceeded. Requires homing.
$210Enables hard limits. Immediately halts motion and throws an alarm when switch is triggered.
$220Enables homing cycle. Requires limit switches on all axes.
$230Homing searches for a switch in the positive direction. Set axis bit (00000ZYX) to search in negative direction. The details can refer to XYZ-TABLE
$24300Feed rate to slowly engage limit switch to determine its location accurately.
$251000Seek rate to quickly find the limit switch before the slower locating phase.
$26250Sets a short delay between phases of homing cycle to let a switch debounce.
$271Retract distance after triggering switch to disengage it. Homing will fail if switch isn't cleared.
$301000Maximum spindle speed. Sets PWM to 100% duty cycle.
$310Minimum spindle speed. Sets PWM to 0.4% or lowest duty cycle.
$321Enables laser mode. Consecutive G1/2/3 commands will not halt when spindle speed is changed.
$10080X-axis travel resolution in steps per millimeter.
$10180Y-axis travel resolution in steps per millimeter.
$10280Z-axis travel resolution in steps per millimeter.
$1106000X-axis maximum rate. Used as G0 rapid rate.
$1116000Y-axis maximum rate. Used as G0 rapid rate.
$1126000Z-axis maximum rate. Used as G0 rapid rate.
$120500X-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.
$121500Y-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.
$122500Z-axis acceleration. Used for motion planning to not exceed motor torque and lose steps.
$130285Maximum X-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.
$131272Maximum Y-axis travel distance from homing switch. Determines valid machine space for soft-limits and homing search distances.
$13280

























XYZ TABLE

For the commands of $2/$3/$23, the detailed parameters can be refer to:

DirectionsParameters
X+ Y+ Z+0
X- Y+ Z+1
X+ Y- Z+2
X- Y- Z+3
X+ Y+ Z-4
X- Y+ Z-5
X+ Y- Z-6
X- Y- Z-7

Note