Welcome to Our Community

Some features disabled for guests. Register Today.

MKS DLC 32 problem.

Discussion in 'Controller Boards' started by Dr.Deo, Sep 16, 2023.

  1. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    You really have to go read the Grbl Wiki. MCS is explained in the FAQ page
    That alarm is explained in the Max Travel section of the Config page. Read it until it all makes sense then go read the entire Grbl Wiki just one more time. You still don't understand that MCS is not WCS, that MCS is a fixed location on every machine with 0,0,0 at axis maximas. That switch position doesn't affect where MCS is etc. You still don't understand max travel and homing. It shows you have not bothered to read the Grbl Wiki - all of us can try to explain until we go blue in the face, until you take the time to go understand that correctly it won't make sense to you
     
    David the swarfer and dJOS_500 like this.
  2. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    I give up on the MKS DLC32.
    the controller started to denie controll after reconnecting or resetting the controller to any software.
    it overheats while trying to put any other software on to it exept for the stockware.
    i ordered a Rattm Motor mainboard.

    i have had enough.
     
  3. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    There’s nothing wrong with the DLC32, are there Better controllers available, yes. However, your issues can be solved by education.


    My biggest CNC upgrade yet!
     
  4. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    do you own a MKS DLC32 ?
     
  5. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    #65 dJOS_500, Oct 2, 2023
    Last edited: Oct 2, 2023
  6. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
  7. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    The standard MakerBase GRBL firmware from GitHub.
     
  8. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    there are 3 and each one has at least 5 versions. wich one do you use ?
     
  9. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
  10. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    New board works like a charm and runs quite and smooth.
    also i figured the main issue was the way how the hard limit switches were configured in the software.
    they were set to always triggered but i wired to not triggered so by inverting them via UGS and then running OBC to controll the motors it finaly worked.

    i tested inverting the switch trigger twice with the MKS DLC32 and it didnt work so i will look more in to why it didnt work. probably method of testing was flawed
     
  11. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    dJOS_500 thank you so much for sharing your interesting project and the success you have been had with the MKS DLC32 v2.1 controller board.

    I am quite a newby and was using an Arduino for controlling my self build hobby cnc and I thought it would be good to have an offline controller and decided the above board ticked all the right boxes.

    I recently tried to update the firmware following the procedure in their Github PDF. But for some strange reason despite trying updating it 3 times with the current version V2.1.0_H24_20220511_01_N_CNC.bin. Even tried to Erase the firmware, reboot and download the firmware but I get the same result.

    When power it back up and connect the openbuilds control software it reports as 2022010801.

    Is the above correct or I am doing something wrong with the updating process?
     

    Attached Files:

    dJOS_500 likes this.
  12. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    Howdy, I’m using grblHAL on mine, but I’d be happy to upload my fully compiled firmware to GitHub along with instructions for you if that helps?

    PS, the instructions should apply to the stock firmware too.
     
    #72 dJOS_500, May 4, 2024
    Last edited: May 4, 2024
  13. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    @MikeP here is my grblHAL config and how I flash the DLC32 v2.x.

    The flashing process applies to the stock FW too as the process is identical. The MKS Laser Tool is the best flashing software I've found, and I've copied it to my GitHub repo as it's a PITA to locate.

    GitHub - dJOS1475/grblHAL_Backup: My grblHAL Config Backup

    and this is what OB Control sees when I connect:

    OBC_grblHAL.png
     
    #73 dJOS_500, May 5, 2024
    Last edited: May 5, 2024
  14. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    Greetings!
    Thank you so much for taking the trouble to upload the files from your config - greatly appreciated!

    I did use the same tool as the one you are using and followed the simple steps to upload the stock firmware.

    In my setup I have 4x DM542T external drivers powering Nema23 steppers being controlled by the MKS, at first I ran into issues with the ENA pin connected to the drivers.

    Kept getting errors of about 3.4mm no matter what I did with the $100,$101,$102 settings. There was some timing issue between the PUL/DIR pulses and I had to disconnect the ENA pin and it resolved the issue but with the drawback of the steppers remain energized when you power on.

    That prompted me to may be look at FluidNC but then I found out it does not support the display which was my main reason of getting the MKS so I don't need to have my laptop connected to the CNC. And as I am quite new and just getting started not to mention also don't have any scripting knowledge - I decided to just use the stock firmware which I must does seems to be working quite well - has some inconsistent behaviour when using the offline option but for the most part it is okay.

    I have yet to mill or engrave something but knowing that you are using gbrlHAL and it is working well in your setup, I will attempt to replace the stock firmware and do some testing.

    Take care my friend.
     
    dJOS_500 likes this.
  15. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    Hi there!

    Before I attempt uploading gbrlHAL onto my MKS board, would like to run it past you to see if the offline TS24 touch screen display will still work after changing the firmware.

    Thanks!
    MP
     
  16. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    Unfortunately it’s useless on everything but the stock firmware. TBH I think it’s kinda useless anyway. I got so annoyed with its limitations that I bought a cheap second hand Dell Latitude 5289 Laptop to run OpenBuilds on.

    It was only $179 Aussie Micro pesos and even came with a Windows 11 licence.
     
  17. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    Yes, I couldn't agree more with you - I have also not impressed with it and to my dismay the main reason I chose to get this board was to be able to use it for running a job without needing to connect a PC/Laptop.

    I still haven't gotten round to putting my machine to the test of milling/engraving, hopefully soon.
     
    dJOS_500 likes this.
  18. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Just throwing this in here :) - BlackBox with Interface (;

     
    dJOS_500 likes this.
  19. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    Same here, however the board itself is still the best affordable 32 bit CNC board on the market IMO. Nothing else comes close to its flexibility.

    One day I might upgrade to something like the BlackBox x32, but i can’t really justify it yet.
     
  20. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    As a full display Jogging tool - It is quite an interesting solution.
     
  21. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    I plugged in a USB joypad, I had lying around, and mapped the OB Control jog keys to the buttons.
     
  22. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    Greetings,

    Pleased to let you know that I managed to get the MKS controller operational with the stock firmware and ran my very first test cut of borring holes for fitting inserts into a MDF workboard, did a simple 2d engraving with a 1/8th single flute upcut end mill.

    The dimensions are a little bit out, i traced the problem to the wrong microstepping configuration of the external motor drivers. After changing them i am now getting accurate movements and all axis and will run the test again.

    Btw, the TF21 touch screen display seems to be working okay, but it only works well if the machine is powered on after having been previously homed before powering the cnc off..

    I would also like to get a joystick for jogging the machine - is there a particular make/model I should look for and could do with some guidance on how you programmed it with the Openbuild Control App?


    Thanks for the tips earlier. .
     

    Attached Files:

    dJOS_500 likes this.
  23. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
  24. MikeP

    MikeP Well-Known
    Builder

    Joined:
    Apr 29, 2020
    Messages:
    39
    Likes Received:
    27
    Thanks for the share. Yes it is an interesting solution, for professional use especially with such a large frame cnc machine it is a great tool to have but pricey...

    For now I think the joystick control will do nicely :)
     
    dJOS_500 likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice