Welcome to Our Community

Some features disabled for guests. Register Today.

Ask Grbl CNC questions here.

Discussion in 'Control Software' started by Sonny Jeon, Aug 12, 2015.

  1. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    Possibly, but I don't think so. I'm the only person that operates the mill and my standard offset for Y-Axis is -1270 and now I use -1170. *Shrug*
     
  2. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    You guys aren't going to believe what my issue was. My vacuum hose came slightly off of its bungie-cord hook and was in front of where the Y-Axis limit switch is used to hitting...
     
    daxliniere and David the swarfer like this.
  3. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hi Sonny, thanks for this thread. Do you know if an Arduino Nano (CNC shield v4) is fast enough to run 3 axes at 64x overstepping? (TMC2209 drivers)
    If that's more steps per second than it can handle without skipping steps, could someone suggest what a reasonable number would be, please?

    I realise steps/second is reliant upon how many mm/second you're trying to achieve, but it would be great to know if anyone's run into limitations. This will be my first CNC machine build, so it's all completely new to me.

    Thanks for reading this far! :D

    All the best,
    Dax.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,050
    Likes Received:
    4,313
    Rather get a beginner friendly and easy to use setup like a https://docs.openbuilds.com/blackbox - especially when things go wrong: you'll be happier with support
     
  5. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,461
    Likes Received:
    1,915
    the limit is 33000hz step rate
    you can fiddle with microstepping setups here GRBL settings calculator
     
  6. Gary Caruso

    Gary Caruso OpenBuilds Volunteer
    Staff Member Moderator Builder

    Joined:
    May 19, 2016
    Messages:
    1,193
    Likes Received:
    532
    Hi Dax, Is there a reason you need 64x microstepping? typically 8x or 16x is plenty.
    Gary
     
  7. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Thanks David, that tool looks excellent. Cheers for putting it on my radar!
    And good to know about the 33kHz step rate. It seems fairly low, but these Arduino shields are so darn cheap, so that's fair enough. I have a DLC32 (ESP32-powered) board on its way to me that can do about 88kHz.
     
    David the swarfer likes this.
  8. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hey Gary,
    Thanks for your reply. Good question. I assumed that since the Trinamic drivers boast being able to perform up to 64x, higher must be better, though I can now see it's highly dependant on the controller you're using and the speeds you've planning to hit.
    I've configured my setup for 16x now and will see how it all runs when the spindle arrives.

    All the best!
    Dax.
     
    Gary Caruso likes this.
  9. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,784
    Likes Received:
    1,364
    If I've read the datasheet right, at 16x microstepping you will benefit from the drivers ability to use interpolated microstepping, meaning you will actually get up to 256 x microstepping. This is not limited by the step rate limitations of the Arduino, as it is implemented within the driver circuitry.
    The TMC2209's limitiations are probably the current handling at 2.8A (peak current) max, but I have the TMC2660 drivers in my Duet2 controller, and I can assure you they do not lack torque at 16x microstepping with peak current limiting set at 2.4A.
    Alex.
     
    Gary Caruso likes this.
  10. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hey Alex, thanks for taking the time to look through the datasheet.

    I've picked up 3x TMC2160-OC drivers on AliExpress for £30 delivered and they're rated to 4.33A, so I'll swap out the TMC2209's when the new DLC32 controller board arrives.


    That's interesting about the 2.4A steppers you're running. Do you know what torque they are and do you do much aluminium? That's what I want my machine for and I was thinking I'd have to upgrade to 115mm long 4.2A NEMA23 steppers to be able to handle it, though I'd love to save some cash (and space!) by using a smaller stepper. The ones that came with the CNC3040 are babies (57x41mm)

    All the best,
    Dax.
     
  11. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    If you have the option/space to put NEMA 34 motors rather than the longer NEMA 24 use the 34. I did and I'm happy with it. Lower amps than the 24 and lower inductance but way more torque.
     
  12. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hey Justin, thanks. I think 86x86mm wouldn't be possible. NEMA 24 (60x60mm) seems doable, but I can't find anything that compares price-wise with NEMA 23 motors.
     
  13. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,015
    Likes Received:
    1,680
    I currently use Nema 23 270 oz motors on mine and have no issues cutting aluminum.

    That being said, I am upgrading and upsizing that machine from 1500 by 850mm to a dual beamed X axis machine that is 1500 by 1000mm in size and I am replacing those 270 0z motors with the OpenBuilds high torque motors. The smaller ones are going on a new smaller machine I am building.
     
    Peter Van Der Walt likes this.
  14. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hey Giarc, thanks for that information. I think I won't need to go for the massive ones I was looking at. Cheers!
    Dax.
     
  15. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,784
    Likes Received:
    1,364
    Sorry about the delay in getting back to you - had to check what size my steppers are - they are 175oz/in. I do a fair bit with aluminium, mostly things like plates for upgrading my machine. When I first got my machine I stupidly left a G cramp attached to the spoilboard, and jogged the machine straight through it. It didn't even hesitate - just ripped part of the 18 mm thick spoilboard apart, so I've never had any doubts about the torque available with them. An example of a milling job in aluminium in the pic.

    end plate right 3.JPG
     
    Giarc and daxliniere like this.
  16. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Wow, Alex, that's exactly the sort of thing I'd be hoping to do with my CNC. That's insane that it was able to rip through it!
    This is invaluable input, thank you so much for taking the time! :D :D

    All the best,
    Dax.
     
  17. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,050
    Likes Received:
    4,313
    Remember torque isn't everything. Inductance, Resistance and Coil voltage parameters affect the "feel" of motors too - how they accelerate, what speeds they can reach, etc - rest assured our motors are optimally spec'ed to balance out all the factors for you
     
    daxliniere likes this.
  18. daxliniere

    Builder

    Joined:
    Feb 24, 2022
    Messages:
    10
    Likes Received:
    2
    Hey Peter. Thanks for that very interesting information. I wasn't aware that I needed to be looking at more than just torque ratings.
    I won't ask more since it's probably outside of the scope of this forum (and certainly this thread, so thank you for enduring my tangental wanderings), plus I'm working on a hobby CNC3040Z that I was given. Well, I've beefed it up like crazy (1.5kW spindle, soon adding a 15mm mild steel bed, etc), but it's still my first CNC.

    Thanks again for the GRBL support, too!

    All the best,
    Dax.
     
  19. Turner

    Turner New
    Builder

    Joined:
    Mar 11, 2022
    Messages:
    1
    Likes Received:
    0
    Hello,
    I have a 4 axis grbl version running on my arduino uno.
    I would like to rewrite the program so that I can also perform a homing cycle on the 4th axis.
    My problem is that I don't understand the pin numbering of Grbl.

    For example at "#define Z Limit Bit 4 // uno digital pin 12" the z limit bit is at my arduino the pin input 12 but written is 4.
    Now how can i change for example the input to digital pin 13 ?

    I am a complete beginner in programming and would appreciate any help.

    With kind regards
    Tim
     
  20. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,015
    Likes Received:
    1,680
    Peter Van Der Walt likes this.
  21. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    Hey guys,

    I'm having a new issue where my machine is hitting its limit switches when homing but in its "head," it is still moving past them up until it reaches an outer limit and I am stopped by an Alarm 9 (Check Limits). This only occurs for the X and Y axes. I've made sure there are no obstructions on switches, physically, and that everything is clean (I've had an obstruction issue in the past).

    Soft and hard limits are enabled and my pulloff distance is 4mm, but I don't think these should affect anything with respect to this issue, right? Normally, the X and Y axes are at 1290mm and 1270mm respectively but the machine "keeps going" (at least it thinks it does) until beyond 3000mm on each before the alarm triggers.

    Thanks,
    Zach

    EDIT: Well, now it appears the Y-Axis is not moving at all so I'll be trying to fix that first haha
     
    #1401 protozach, Mar 16, 2022
    Last edited: Mar 16, 2022
  22. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    Alright, so I fixed the Y-Axis not moving. The piece which connects the cork-screw looking rod (which moves the axis) to stepper motor #2 (unsure what this part is called if anyone could help) was detached. Now, it all moves, but the Y-Axis doesn't want to stop despite hitting the limit switch and hard limits being set to ON. Going to sleep on it over night and come back to it tomorrow.
     
  23. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,050
    Likes Received:
    4,313
    Use the Troubleshooting tab in CONTROL to test your limit switches. Make sure they are wired correctly and that you wired the right switch to the right axis (accidentally wired X switch to Z or Y input for example?)
     
  24. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    They are definitely wired correctly as this is only a new issue after a month of uninterrupted heavy milling. I didn't know about the troubleshooting tab, though, and will check that out first thing in the morning. Thanks!
     
  25. protozach

    protozach New
    Builder

    Joined:
    Jan 17, 2022
    Messages:
    21
    Likes Received:
    7
    My Y limit switch is just broken it appears. I don't know how to use the console and the people who set this up (who no longer are a part of this company) made so many modifications to the rig that default commands and the like don't play well. I figured it out by simply pressing the limit switches of all the axes during homing and, lo and behold, the Y switch does nothing. Thanks!
     
    Peter Van Der Walt likes this.
  26. bhemp

    bhemp New
    Builder

    Joined:
    Feb 24, 2022
    Messages:
    6
    Likes Received:
    0
     
  27. bhemp

    bhemp New
    Builder

    Joined:
    Feb 24, 2022
    Messages:
    6
    Likes Received:
    0
    i get a no firmware found when I try to connect tothe port. I have tried disconnecting all the wiring but get the same thing. This is a new setup and I have been able run the Hello World several times but get same thing when trying to run it. I re connected the wiring one connection t a time but no change. What can I do?
    bhemp
     
  28. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,050
    Likes Received:
    4,313
    What controller are you using?
     
  29. bhemp

    bhemp New
    Builder

    Joined:
    Feb 24, 2022
    Messages:
    6
    Likes Received:
    0
    I am using a new lap top with a black box with 4 nema 23 motors using 2 motors on y axis one connected to y2. I think this started after hooking up a limit switch on x and one on one of the y motors. I have them unplugged but get same no firmware found or no supported firmware found. Both limit switches indicator lights came on when tripped. I have tried several usb cables with no change. I do appreciate the fast reply. I am more of a woodwork person than electronics. I have built store displays out of wood and acrylic for years and can usally follow directions on the electronics without much problem, but can't resolve this problem so I appreciate all the help.
    bhemp
     
  30. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,050
    Likes Received:
    4,313
    See docs:blackbox:faq-usb-connection-failed [OpenBuilds Documentation] (possibly 6.3.1 relates)
    Consider that, along with the Important Warnings sections on docs:blackbox:connect-xtension-limit [OpenBuilds Documentation] or docs:blackbox:connect-micro-limit [OpenBuilds Documentation] respectively - depending on the type of switches you installed. Recheck your wiring - let us know if you found a short circuit.
     

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