Allow stepper direction config ($3) for ganged motors. #90
Replies: 1 comment 3 replies
-
IMO a new setting is called for that inverts the $3 direction setting for the ganged motor instead of setting it explicitly. This would be far simpler to implement as having it part of the $3 setting will trigger a lot of code changes that I am quite sure I am not going to even try to do. BTW I now label motors > 3 as M3, M4 and M5 instead of A, B, C in the map files. Perhaps this should be adapted for the board markings as well? [edit: changed B = M3 to A = M3 above] |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When ganging two motors together it is often necessary to reverse one of the motor's direction.
For stepper motors, this is fairly easy at the wiring level - just reverse one of the motor wire pairs. For servos, it requires programming the servo. I think it would be a good addition to allow $3 to also change the step direction for the 2nd motor in the ganged pair. This would allow builders to not have to change their hardware setup once installed. Here's an ioSender mockup to show the idea.
I think the defaults should be to invert the ganged drive step direction. Y not inverted, B inverted for the example shown Also, if inverting main axis (Y in this case), the ganged drive should have inversion applied to it as well. Thus, if Y was originally not inverted but B was and subsequently the user inverts Y, B would be inverted again (ie, show as not inverted).
Note that the image below implies changes to grblHAL and ioSender, I would be happy with just treating it like an extra axis (i.e., no sender changes, just show the extra axis).
Beta Was this translation helpful? Give feedback.
All reactions