Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Plan_B on November 07, 2011, 09:08:16 AM

Title: Homing problem
Post by: Plan_B on November 07, 2011, 09:08:16 AM
I have a dual drive stepper system and am using micro switches as home/limit switches. I have them set up as active low on my X and A axes. Homing works if I disable the A axis switch (in mach3 ports/pins) and check home A axis with X axis in config. When I uncheck that and enable the A axis switch the machine runs both axes toward the switches as expected but when the switches are engaged the X axes backs off and stops as expected but the A axis keeps backing off, stalling the motor. Any ideas on why the A axis might fail to stop when its home switch is disengaged?
Your thoughts appreciated.

Title: Re: Homing problem
Post by: ger21 on November 07, 2011, 07:03:49 PM
IN General Config, do you have Home Slave with Master checked?

Can you post your xml?
Title: Re: Homing problem
Post by: Plan_B on November 07, 2011, 11:43:08 PM
Hello Ger,
I just downloaded the Mach3 2010 screen the other day. I haven't installed it yet. I'm hoping to get the homing done then I'm looking forward to getting the probing working.

I've tried it both with 'home slave with master' checked and unchecked. That's what I was trying to say in the original post but I had the terminology wrong. Sorry about that. When I have it checked, does it still use both limit switches? I have one on the X and one on the A (it's dual drive). I want it to square the gantry when it is homed. My read on the homing functionality was that if I wanted both motors homed independently then I needed that unchecked. I have it checked now. The homing works in this state - I just didn't think both axes (X and A) would be homed in this configuration....The XML is attached.

Does that aspect of config get saved in the xml? I've played with ports/pins, general config a lot in the past few days but the last date modified for the xml says 1 NOV.

Thanks for having a look.
Title: Re: Homing problem
Post by: Plan_B on November 08, 2011, 12:06:29 AM
Hi Gerry,
I think I got it. I had the switch on the x rail configured as the A axis home and the A switch as the X home. Backwards! I corrected that and now with the 'home slave with master' unchecked I can clearly see that both motors are being homed independently.