Ganged Motor discussion #9
Replies: 4 comments 10 replies
-
Give me some time, the
My plan is to use
Looking at the map files you will see that motor pins are prefixed with For those who might wonder, it is possible to have all three axes (XYZ) ganged (or auto squared) when the breakout board supports six motors. And of course two axes when it supports five motors.
It may seem simple but it is going to be a lot of work, I'll leave that to somebody else. And reason for not doing it is this:
Then that someone should, IMO, write their own driver for it. |
Beta Was this translation helpful? Give feedback.
-
Hello folks, |
Beta Was this translation helpful? Give feedback.
-
Oh yes, please do update!
Thanks Phil.
…On Tue, Sep 17, 2024, 05:58 phil-barrett ***@***.***> wrote:
Came here to say that. Make sure you have build your firmware with
Auto-squared axis (not just ganged). My blog on auto-squaring
<https://www.grbl.org/single-post/it-s-hip-to-be-auto-square> predates
this - I should update it.
—
Reply to this email directly, view it on GitHub
<#9 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGUKYUWNJYPJDLTIXFTXBUDZW74L7AVCNFSM6AAAAABOJ6D3NSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANRWHA3TIOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks gents! This clears it up. The part I didn't understand is that they're ganged except for when executing the auto square function, post homing. |
Beta Was this translation helpful? Give feedback.
-
Preface: while I am posting this in the iMXRT1062 section, it really applies across all ports.
The changes to the way a ganged motor is allocated took me a little head scratching at first but I am coming around to seeing it as a good change. I have come up with a way to support backward compatibility (alternate map file that swaps A and B) so people upgrading do not have to rewire.
But this got me wondering why grblHAL does not show the motors as ganged.
$pins shows two sets of pins attached the ganged axis. For example, if Y and A motors are ganged as the Y axis, both Y and A pins are listed as Y. I think Y motor's pins should be listed as Y1 and A motor's pins as Y2. Or perhaps A pins as Y(A)? (by the way, the $pin command is very useful - I'm juggling multiple map files and it really helps)
In addition, with the above example, you do not see A at all in Grbl settings. In general it is OK to not be able to change A's settings because the two sets (Y and A) should always be the same, except for 1 - direction. When Y turns CW, A should turn CCW (or ACW for Queen's English speakers). This is easy enough to do with the motor wires. But, being a bit AR - I prefer to keep all my wiring the same and invert the second ganged motor in settings. Also, I think it is good to be able to see the 2nd motor in settings, it exists.
So, I am suggesting 2 things:
Also, there is a question whether one would ever want ganged motors with different settings like steps/mm and so on. I am fairly sure the answer is no. But, I am certain that somewhere someone has thought about building such a machine.
Beta Was this translation helpful? Give feedback.
All reactions