Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: DanJ on February 19, 2021, 06:37:23 PM

Title: Mach3 Ref All Homing gets hung up
Post by: DanJ on February 19, 2021, 06:37:23 PM
When homing I have an occasional problem with homing the Y Axis (my machine uses individual steppers, Hall Effect sensors for limits, Mach3 & SmoothStepper USB).

Most of the time I get M1/2/3 and M5 Home working and the machine backs off the sensor deactivates.

Occasionally one side or the other doesn't clear the sensor causing a limit switch error. If I power down the steppers and push that side off and retry it usually works. But, today it didn't. It kept tripping and then it also switched sides in the Y.

Really frustrated and would appreciate some help.

Thank you
Title: Re: Mach3 Ref All Homing gets hung up
Post by: OregonMike on April 23, 2023, 01:23:38 PM
Nobody may read this, but here was my experience with, I think, a similar problem.

The Z limit switch (first axis homed) appeared to work fine when I put an ohm meter on it and depress it with my finger.  However, if I depress the switch until it clicks but not any further, the closed/open state is not reliable.  The resistance across the switch is highly variable when it is closed but almost open.

When homing, the machine travels to the switch, closes it, reverses direction until it opens, then stops.  The machine is in the unreliable position (after the click but no further) when it stops to reverse.  Sometimes a false open resistance causes the machine to stop before it travels back far enough to fully open the switch.  Other times the resistance is such that the machine continues with homing but eventually the cnc senses it as closed and shuts down due to a limit error.  This can occur anytime while the other axes are homing until the gantry is moved away from the switch causing it to fully open.  The randomness of the problem made it hard to troubleshoot.

Put an ohm meter on the limit switch and depress it very slowly.  Stop as soon as it clicks and see if it is truly changes state and holds it.  Going the other way, fully depress the switch and slowly release it to see if the resistance changes prior to the click.