Welcome to Our Community

Some features disabled for guests. Register Today.

CNC Z-axis shift issue

Discussion in 'CNC Mills/Routers' started by o520852, Mar 28, 2017.

  1. o520852

    o520852 New
    Builder

    Joined:
    Mar 28, 2017
    Messages:
    3
    Likes Received:
    0
    Hello Open Builds,

    I began building a large Open Builds CNC machine a while ago and I almost have it all working, but I'm hung up on this one issue. The z-axis seems to randomly shift upward, increasing the distance from the build at times when it should be maintaining its height. The spindle is quite heavy so it seems especially odd that it shifts up. It shifts a mm or two at a time per every ~250mm which is enough to ruin any of my builds. None of the other axes seem to have this problem. At first I thought it might be electromagnetic interference (from the 2.2kw spindle) but the wires are shielded. The motor makes a bit of a crunching noise when it happens.

    I'm running a tinyg2 controller (Arduino due with 2 GRBL shields). Perhaps its some firmware issue.


    The current gcode involves, row by row, shaving off layers. (Each pass in the x-axis is a row)

    I've tried testing the CNC machine using Coolterm, but whether or not the spindle is on it does NOT shift in the z-axis.
    This does not fix the problem as I can not use Coolterm to run the build.

    I'm uploading the gcode using Chilipeppr. Maybe that is causing the problem.

    I'll do some more testing, but if anyone has any other ideas please let the thread know.

    I ended up doing a work around by changing the gcode to use less passes and take less time overall. Instead of half a mm per pass in wood it now cuts at the final depth (.5 inches ~12mm).

    Thank you for your help!
     
    #1 o520852, Mar 28, 2017
    Last edited: Apr 2, 2017
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,238
    Likes Received:
    1,815
    slow down the Z, ie change the max rate and the acceleration settings to lower values, say 1/2 or 3/4 of what they are now, and run a file that did it before. if it still does it, then there is probably a loose grub screw (allowing a pulley to rotate) or a sticky spot on the rails/leadscrew that is causing extra resistance 'sometimes'.

    an alternate is to reduce the microstepping setting, ie if it is now 1/16, set it to 1/8 (and change the steps/mm setting to match)!

    why?
    stepper motors get weaker the faster they run, spindle is heavy therefore run slower.
    microstepping loses power, so lower settings are more powerful, but you don't want single stepping either as that suffers from vibration issues.
     
  3. o520852

    o520852 New
    Builder

    Joined:
    Mar 28, 2017
    Messages:
    3
    Likes Received:
    0

    This is a good solution for a z-axis that is slipping and falling down due to the weight of the spindle.

    I should have clarified that in this case the z-axis is moving up, increasing the distance from the build. It also does this at times when it should be maintaining its height.

    Thank you for the response though.
     
    #3 o520852, Mar 29, 2017
    Last edited: Mar 29, 2017
  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,238
    Likes Received:
    1,815
    AND for when the Z axis is missing steps when pushing down into the work (-:

    does your gcode plunge straight down into the work? if so then you should try a ramped entry.

    which points to interference... but prove it by reducing the acceleration because that is much easier than separating all the wires (-:
     
  5. JamieW

    JamieW New
    Builder

    Joined:
    Sep 7, 2016
    Messages:
    7
    Likes Received:
    1
    This is interesting, just can back to the forums with a Z-axis issue, not sure if related. My Z-axis (on large-ish double-belted Ox with high torque NEMA23 for all motors) gets slightly deeper as Y increases, and shallower again as Y decreases. The slope is perhaps slightly-less than 1%. It is inconsistent, sometimes hardly appearing at all, at other times approaching 1%. I made a jig and very carefully checked the X-crossbar-to-perf-board distance across the entire perf board. Could this also be a Z speed issue? I am using very conservative speeds. It doesn't seem to matter how many passes I am make, by the way. And all I'm cutting is 5mm plywood with 6mm end mill, Dewalt tool.
     
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,238
    Likes Received:
    1,815
    firstly, nothing is flat until you make it flat. (-:

    I would attach some 6mm MDF to the base and then mill it flat. if you draw lines on it with a sharpy and then mill say 0.25mm deep you will quickly see where the highs and lows are.

    now you can compare that 'flat' to your yardstick and adjust the frame to get the best results. the perfboard will follow the frame, but maybe not instantly, depends on the thickness.

    note that if you move the frame, even half an inch, it will no longer be flat since it will conform to the table it is standing on, and tables are never flat, and if made of wood, will change shape....

    secondly. perfboard = some form of wood. wood changes shape depending on the weather. put some MDF on there and mill it flat, for those jobs that matter. or make a probe, probe the surface and let the software correct for the warp.
    bCNC can do this with a GRBL controller.
     
    GrayUK likes this.
  7. JamieW

    JamieW New
    Builder

    Joined:
    Sep 7, 2016
    Messages:
    7
    Likes Received:
    1
    Of course this all makes sense, but my question would be that given the perf board is 3/4" MDF, why not simply mill the surface of the whole perf board? I had always thought this might be necessary - your comments suggest it is.

    Thanks.
     
    David the swarfer likes this.
  8. o520852

    o520852 New
    Builder

    Joined:
    Mar 28, 2017
    Messages:
    3
    Likes Received:
    0
    I ended up doing a work around by changing the gcode to use less passes and take less time overall. Instead of half a mm per pass in wood it now cuts at the final depth (.5 inches ~12mm). This solution won't work for materials much stronger than wood, or for anything that has to be precision, even with a $5000 CNC machine.
     

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