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. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Hello again

    i currently run in to problems post processing my CAM toolpaths from Fusion 360 in to Open builds.
    When i use grbl post processing it stops the operation somewhere in the path always at the same point.
    When i use Openbuilds post processing Fusion 360 puts out a error message and the code doesnt run at all.

    im Currently using a MKS DLC32 mainboard with MKSLaserTool Drivers and a Proxxon Spindle
     

    Attached Files:

  2. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    That is not an error message - it is telling you that you didn't set a workplace co-ordinate system in Fusion cam set up, so it is selecting the first one (G54) for you - the code should then run.
    To help us work out why the file won't run please upload your g-code files, telling us which was created with the grbl post processor and which with the Openbuilds one..
    Please clarify whether you are outputting code for your spindle or for a laser.

    Alex.
     
  3. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    i do not output code to the spindle. i have labled the codes acordign to the used postprocessing
    thank you for helping :D
     

    Attached Files:

  4. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    im somewhat intrested in creating a easy User Guide for beginner CNC-hobbyists who want to build a CNC router themself.
    looking up parts, software settings, hardware configurations, machin wireing and much more took me about a year.

    I cant understand why there are so many more and way easier to set up 3D printers then cnc routers.
    Having a place with one uniform affordable Hardware setup and a reliable software solution for a commmon used CAM programm like fusion 360 would be such a game changer for hobbyists.
    Also thats a reason why i like to use Openbuilds software <3


    (i have a background in chem. research and have to create and use Hardware/Process/Software manuals)
     
  5. Misterg

    Misterg Journeyman
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    277
    Likes Received:
    221
    Both of those GCode files are OK, and either should run through without problems.

    If your machine is stopping, it may well be EMI
     
  6. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    As @Misterg said, the only unusual thing I spotted in the file post processed with the grbl post was a couple of arcs in the YZ plane. I would recommend sticking with the Openbuilds post processor.

    Alex.
     
  7. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,042
    Likes Received:
    1,436
    As Alex pointed out, this is warning. It doesnt effect code generation. If you want to avoid this warning in the future, either always make sure you set your WCS in the job setup. Or if you dont want to remember to do it, you can set G54 as your default WCS. You do this by setting your WCS to 1 (which is G54), then right click on it and select "set default".
     
    Alex Chambers likes this.
  8. Misterg

    Misterg Journeyman
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    277
    Likes Received:
    221
    Just FYI these are the way that the F360 POST implements the lead-ins to the cut.
     
    Alex Chambers likes this.
  9. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    As in the Autodesk grbl post? I thought that might be the case but I've not seen lead ins done like that - don't use that post. Thanks for the info.
    Alex.
     
    Misterg likes this.
  10. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Update:
    i set the WCS to 1 and the massage doesnt apear anymore.
    the code wont execute and stops 6sec after starting and raising the z axis. simulating the code in Openbuild Controll works smothly even tough the build area seams off
     

    Attached Files:

  11. Misterg

    Misterg Journeyman
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    277
    Likes Received:
    221
    The GCode you posted previously cuts a line with a step in it and then stops - about 6 seconds.

    What are you expecting it to do? - Post your F360 file and describe what you're trying to achieve if you wish.

    gcode.png
     
  12. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    oh yea sorry i didnt mentioned i tired on a new file to cut a circle. the line test file isnt cut correctly all the way to the end.

    the general problem i run in to with Openbuilds postprocessing is that it stops right after starting the job.
    im wondering why some gcode runs and some dont. especialy when using openbuilds control with openbuilds postprocessing.
    might not be a gcode problem since it can be simulated.
     

    Attached Files:

  13. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    I can't see anything in that g-code that would cause that issue.

    One thing that puzzled me in your first post (I don't know anything about your control board apart from the fact that it is an ESP32 board) was that you mentioned that you were using "MKSLaserTool Drivers and a Proxxon Spindle" - why the Laser Tool Drivers?

    Alex.
     
  14. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    those drivers are stockware for the Mainboard. i have tried fluidNC drivers but with those installed the mainboard stards to get noisy and the stepper drivers got very hot.

    since im not planing on using a digital controlled spindle the drivers should be fine ?

    Firmware: MKS-DLC32/firmware/TS35/CNC/Normal/Board_v2.0 at main · makerbase-mks/MKS-DLC32

    Install tool:MKS-DLC32/firmware/tool/MKSLaserTool_setupV1.0.6.zip at main · makerbase-mks/MKS-DLC32

    Full Mainboard Info.GitHub - makerbase-mks/MKS-DLC32: MKS DLC32
     
    #14 Dr.Deo, Sep 17, 2023
    Last edited: Sep 17, 2023
  15. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    Can you post your grbl settings please? Check your $32 setting.

    Alex.
     
    #15 Alex Chambers, Sep 17, 2023
    Last edited: Sep 17, 2023
  16. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Can do.
    Also thank you guys for taking my problem serious. Had local forums reject my idea.
    added a pic the current Mainboard setting as well. (one motor driver is missing for taking the pic of the lever config underneath)
     

    Attached Files:

    #16 Dr.Deo, Sep 17, 2023
    Last edited: Sep 17, 2023
  17. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    What happens if you set Z workplace zero above the spoilboard and run the file in air?

    Alex.
     
  18. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Same Problem. Stoping after starting
    Hope i understood that right
     

    Attached Files:

  19. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Not sure why but it stards going downwards and stops after 5mm
     

    Attached Files:

  20. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    Is this the firmware you used?
    MKS ESP32.PNG

    I don't think your stepper drivers are really up to the job of running a cnc machine - they are OK for 3d printers and probably a belt driven laser but can't provide the current the stepper motors used on most cnc machines will need. Are you getting any error messages from your controller? Your controller was obviously designed with lasers in mind - cnc milling/routing seems to have been an afterthought. If/when we get your machine running you should consider replacing those step-stick stepper drivers with decent external (I believe you can do that with your board?) stepper drivers.

    Alex.
     
  21. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    In the simulation? I don't have Openbuilds Control on this PC so I can't run the simulation at the moment.

    Alex.
     
  22. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    Is the model of the MKS DLC32 that you have meant to be controlled from a PC, or is it intended to be a stand alone controller - I've seen references suggesting the latter?

    Alex.
     
  23. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    Its the Digital view of whats the router currently dooing
     
  24. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    yea my CNC-router is plugged in to a Server that also controlls other machines
     
  25. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    technicly speaking we could hop on a Zoom/Teams/Discord meeting and solve it life via teamviewer.
     
  26. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,283
    Likes Received:
    1,838
    cannot see anything wrong with the Gcode, but I do see that the post version is 1.0.32, the latest is 1.0.36, please upgrade so we are all using the same post.
    docs:software:fusion360 [OpenBuilds Documentation]

    a little snippet of your Gcode
    Code:
    (Operation 1 of 1 : 2D-Kontur3)
    G54
    (This relies on homing, see https://openbuilds.com/search/127200199/?q=G53+fusion )
    G53 G0 Z-10
    G0 X15.7 Y38.4
    S5000 M3        <--------------------------- that is turning the spindle on at 5000 RPM
    G4 P1.8
    G0 X15.7 Y38.4 Z15 F800
    Z5
    G1 Z1 F267
    Z-1
    [/code
     
  27. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
  28. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    i tried cutting the circle with grbl postprocessing and it seems to work even tough the circle is off by 2mm and i broke some bits.
    No luck with the openbuilds post processing though

    @dJOS_500 i like your build and would realy appreciate your help :D
     

    Attached Files:

  29. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,702
    Likes Received:
    1,329
    You are pushing your machine a bit hard. For hobby level machines I recommend starting with a depth of cut (depth per pass) 1/2 the diameter of the bit.
     
  30. Dr.Deo

    Dr.Deo New
    Builder

    Joined:
    Jun 4, 2023
    Messages:
    36
    Likes Received:
    2
    yea i had the wrong stock hight dialed in
     

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