Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: watsonstudios on November 29, 2011, 07:54:55 PM

Title: Reversing slave axis going from leadscrew to R&P drive
Post by: watsonstudios on November 29, 2011, 07:54:55 PM
In My original MACH setup on my smaller CNC router, My X and A were slaved for my gantry and the steppers were connected to a lead screw system. Thus they were both spinning the same direction. I'm re-building my router to a larger size and now using a Rack & pinion system to drive the gantry. Now....The X & A motors will need to turn in the opposite direction because they will be mounted perpendicular to the X axis & facing each other, meaning they will need to turn in opposite directions to move the gantry in the same direction. My question is can I just reverse one of them in Mach or do I need to re-wire one of the motors in reverse?

Any advise appreciated. Thanks.
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: Hood on November 30, 2011, 08:43:08 AM
Should just be a case of changing the axis state of the motor you wish to reverse.
Hood
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: watsonstudios on December 02, 2011, 01:08:38 PM
Ok, where do you do that in Mach?  I can't find any setting or config that lets you reverse direction of axis.
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: Hood on December 02, 2011, 01:12:43 PM
Config, Ports and Pins, Motor Setup, the motors Direction will depend on whether you have Active Low chosen or not for the Dir. The other place you can reverse is Config, Homing and Limits.
Hood
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: watsonstudios on December 02, 2011, 01:17:23 PM
Yes, I think active low is selected for all motors. So do I just de-select active low for the A axis and that will reverse it?
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: Hood on December 02, 2011, 01:18:53 PM
Thats it :)
Hood
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: watsonstudios on December 02, 2011, 01:24:34 PM
Thanks! I actually did it in homing/limits and just reversed A  - Worked perfect!  Now does it matter what setting I use, or will it be the same whether using active low or reverse in homing/limits?
Title: Re: Reversing slave axis going from leadscrew to R&P drive
Post by: Hood on December 02, 2011, 01:26:30 PM
Doesnt make any difference at all :)
Hood