I was reading through the 328P version of dual motor and noticed that it can only utilize x OR y dual axis support. Could this be x AND y for the mega? Thanks so much!
Line 644 in config
#define DUALAXISSELECT XAXIS // Must be either XAXIS or Y_AXIS
评论 (3)
#2 – chamnit 于 2019-08-28
I can look into it. The problem is you have to be very careful about adding things to the step routine. Otherwise you will get performance hits due to the AVR being maxed out by Grbl. This manifests as struggling with keeping up with rapid gcode streams or reductions of max step rates.
#3 – bdurbrow 于 2019-08-29
I’ve got axis cloning for X and Y simultaneously on my fork (it’s enabled with a #define directive so it doesn’t have a performance hit unless you are using it); I will have dual squaring when I next get a chance to do some hacking on it. The squaring routine won’t be implemented in the stepper ISR; it will be a function that takes over the machine while it’s doing it’s move and polls the timer instead of using the ISR.
FWIW, here’s my fork:
https://github.com/bdurbrow/grbl-Mega
> reductions of max step rates
I don’t quite understand why yet, but that manifests as crashing when you exceed the max step rate that the ISR can keep up with… so if anybody is hacking on the ISR, and it starts crashing – perhaps intermittently – check your speed.
#1 – fra589 于 2019-08-28
My grbl-Mega-5X version can do it : https://github.com/fra589/grbl-Mega-5X
@++;
Gauthier.