-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dual motor auto-squaring #56
Comments
Hello, |
Hi. I'm new to the github, and not shure how it works. Can I add modified version? |
Usually you make a Pull Request |
I had to switch back to previous controller, because i had some problems. There is something wrong with speed of the movement. Machine is decelerating to about zero feed between G-code commands. It is most visible when acceleration is set to low value (100mm/s, I normally run 750mm/s). Circle movement is best example: it is not one full circle, but four quater-circles, so machine slows down every 90 degree. I dont think i have changed anything in the section where speed (feed) is calculated. Im was not able to create pull request on Schildkroet giihub. I had to make my own fork on my account, and there is pull request. All of the changes i've made are clearly visible there. |
This slow downs are known #30 and are caused by backlash compensation |
That was it! |
Zori, did you ever submit a PR for this? It sounds like it could be useful. |
I'm building a cnc router and would love to have squaring for dual Y stepper and a rotary axis.... |
I looked into this and decided a hardware solution was best. Some stepper motors are available with a spindle protruding both ends. You can then add a 10mm toothed belt and pulleys for minimal cost. You then adjust the relative position of the two ball-screws and lock it up permanently. This means the machine does not go out of true each time you power off or reset. Check the lengths of belts available to avoid buying a custom length or adding a tensioning pulley. |
BTW , I think upstream GRBL now has dual motor zeroing , so this could be back ported to this fork. |
I am building a QueenBee Pro and would love to autosquare the Y axes and have a rotary axis A. |
With a belt that long you will need a means to adjust tension. Probably go for wider than 10mm. My axes are about 70cm apart. I Don't see much sense in the complexity of independently driving two Y motors for auto-squaring. This is something you want to set up once like setting your Z vertical. It does not make sense to redo that every time you power on. |
J-Dunn, |
Autosquaring is used by a lot of people on CNC machines for a few years now. |
Yes chinese VFD, 2kW spindle. Good for wood and milling tools but lacks torque for lower speeds like drilling steel or larger daim drills. Drills >6mm stall the spindle. I maybe did not make an optimally well-informed choice there. |
|
Why do they need to "heavily rely" on auto-squaring? Because there is no physical connection. I'm saying a belt is a means to set this up definitively, just like other mechanical alignments. I started working on auto-alignment since I had already added "4th" axis to get independent dual drive ( for other reasons ). |
Sorry, I misunderstood your question. |
|
I don't use backlash. I have solid ballscrew drives. BTW leave a one line space after a quote to prevent everything getting quoted ;) |
I wish I could afford ballscrew drivesI but my machine is a cheap one I use to make prototype PCBs. |
Where are you going to "watch". The M* commands come from outside GRBL. It seems your problem is within GRBL if you say it is related to this backlash code. Turning off at corners or axis reversal is a laser option in GRBL. Have you ensured that is turned off? |
The STM32F411 Nucleo Board has a connector CN3 with Tx and Rx on it, so I just wire Tx to the Nano.
Yes, $32=0 This is just a brute force, blast it away with my little Nano I had in the junk box. I will have to think about how I use laser mode in the future. Maybe just pass the normal Nucleo PWM signal through the Nano PWM output pin. Let it follow the Nucleo signal. |
Sure you can monitor the serial comms but if this coming from the backlash code in GRBL-advanced, how does that help? The M codes are not when this is happening. Maybe I just don't follow what you are doing or expecting to do.
Why does laser mode come into this? You said you don't want it and it is turned off. |
FYI |
Disappointing..... |
Hi J-Dunn |
Thanks, that makes more sense. I thought you were intending to use the Nano to debug the problem. |
Hi Schildkroet,
Can you add support for dual-motor axis?
The only difference is in homing procedure. Slave motor must have additional limit switch, then software can home two motors of one axis independently. I think it should be quite simple to add.
This option is included in grbl 1.1h.
Best Regards.
The text was updated successfully, but these errors were encountered: