Page 1 of 1

X axis homing issue

Posted: Fri Jan 29, 2021 5:26 am
by Alaskatazdvl
Hello,

I'm so frustrated with this darn printer I could scream. I've been trying to get it to work for a few weeks now and when I get one thing fixed another problem comes up. My current issue is the x axis is not homing. I click auto home and it moves a touch to the right and stops. When I check the M119 is says the endstop is triggered when it isn't. Please help. I'm at a loss. :x

Re: X axis homing issue

Posted: Fri Jan 29, 2021 9:08 pm
by jonsag
Get your multimeter out and measure the switch, and also measure on the board.

If you measure across the switch you should get 0V when it's not triggered, and some volts when triggered. Same on the board.

/jon

Re: X axis homing issue

Posted: Sat Jan 30, 2021 6:02 am
by Alaskatazdvl
Thanks for the reply. Yes we checked it with a multimeter and it appears to be working correctly electronically. It seems like something in the coding maybe but I can't find anywhere to check or change that.

Re: X axis homing issue

Posted: Sun Jan 31, 2021 2:05 am
by jonsag
What happens if you hold the switch down when homing?

If there's no change, then perhaps you got it connected wrong somehow?
Wrong port?

If it tries to home, then the switch is wired incorrectly, or you got the firmware wrong.
It should be wired as NC (closed when not pressed).

Edit:
That means I was wrong in my previous post.
You should have 0V when not affected, and volts when pressed.


In the Marlin firmware there is a setting for this:

Code: Select all

// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
...
As I interpret this, is that when NC, set 'false', which is how I have mine set.

/jon

Re: X axis homing issue

Posted: Fri Feb 12, 2021 11:54 am
by Alaskatazdvl
It was plugged in the max slot not the min. Got it fixed. Thanks.

Re: X axis homing issue

Posted: Fri Feb 12, 2021 7:25 pm
by jonsag
You're welcome!

/jon