Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ahab on February 04, 2019, 07:10:17 PM

Title: Slave axis moving at different speed when homing
Post by: ahab on February 04, 2019, 07:10:17 PM
I have a gantry CNC router that I've been using successfully for several months. The other day I noticed that when I hit home all axis, the 2 gantry motors seem to be moving at different speeds during homing. If they are more than a couple inches from the home switch, one of them will jump a pinion gear every few seconds. Not sure what is causing this. I thought each motor was supposed to get the same step/direction pulses as the master axis. I haven't noticed this before but I don't know if it is because I never tried to home the y axis very far from the switch or if there is something new going on.

Also, is there a way to edit the homing script? I can't seem to find where that lives. I would like to adjust the amount each axis backs up off the switch after activating it.

Thanks
Title: Re: Slave axis moving at different speed when homing
Post by: joeaverage on February 05, 2019, 12:53:02 AM
Hi,

Quote
I would like to adjust the amount each axis backs up off the switch after activating it.

That is not a Mach feature/function. Some motion controllers offer that, PoKey 57CNC certainly and others I suspect
but can't say definitely.

I do not think this is a thing you can do with a parallel port. You can write a small script which would accomplish the same
thing however.

Craig
Title: Re: Slave axis moving at different speed when homing
Post by: ger21 on February 05, 2019, 11:58:53 AM
This will happen if the master and slave have different homing speeds in Config > Homing/Limits.
Title: Re: Slave axis moving at different speed when homing
Post by: ahab on February 11, 2019, 12:56:14 PM
Thank you both. It took me a little while before I had time to work on the router again but now it's all good.