makerbase-mks / 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.
https://www.aliexpress.com/item/1005003183498253.html?spm=a2g0o.store_pc_home.productList_8356958.pic_0
260 stars 106 forks source link

Config.h and open source loading of our own firmware #125

Closed Bobertsawesome closed 2 years ago

Bobertsawesome commented 2 years ago

I see that this project is still private with firmware, but that poses some issues that are vital to the function of the machine. For example, I want to be able to run Z-axis homing during normal conditions with the simple $H command. This is only configurable in the source config.h code of Grbl.

Are there any plans to make these functions editable through the laser tool? Or do we still have to wait for the firmware to become open source?

Thanks.

torenich commented 2 years ago

Most of the settings you can change from the console with the extended settings commands. If you want to home Z along with X and Y, you could issue the following command to set them to home all at once.

$Homing/Cycle0=XYZ

Or, a better practice for CNC, would have you home Z first (up to clear work area), then home X and Y. You would issue these commands....

$Homing/Cycle0=Z <----homes Z first $Homing/Cycle1=XY <---- then homes X and Y simultaneously after Z has homed

These settings take effect and are saved as soon as they are issued. Then the next time (and every subsequent time) you issue the $H command, they with home in the order you set.

You can have 6 "homing cycles" 0-5, which will home your axes in that order.

You can also home each axes individually by using $HX, $HY, or $HZ.

Bobertsawesome commented 2 years ago

You, my sir, are a genius. I looked all over the GRBL Wiki and didn't see this.

daxliniere commented 2 years ago

Thanks @torenich! Do you know if there is a list of the extended settings?

torenich commented 2 years ago

Here is a link to the setting wiki from the original developer of Grbl_ESP32.

https://github.com/bdring/Grbl_Esp32/wiki/Settings

makerbase-mks commented 1 year ago

Code open source late but finally here: https://github.com/makerbase-mks/MKS-DLC32-FIRMWARE