Welcome! Log In Create A New Profile

Advanced

Motors will Home but not Move with ENDSTOPS_ONLY_FOR_HOMING set

Posted by Flackster 
Motors will Home but not Move with ENDSTOPS_ONLY_FOR_HOMING set
September 10, 2012 12:14PM
Hi,

I have a working Mendel Sells printer using Gen6 and Marlin. I'm currently trying to build a Prusa Mendel using RAMPS 1.4 (& Marlin)

I have some odd behaviour that I hope someone can shed light on. In configuration.h there is a flag ENDSTOPS_ONLY_FOR_HOMING (// If defined the endstops will only be used for homing). I don't want my endstops only to trigger during Homing. I want them to trigger if just Moving too. So, I comment it out. This works fine with my Gen6.

However, with my RAMPS board unless it is uncommented then my stepper motors turn if asked to Home but do not if I attempt to move (in any direction after homing)
If it is uncommented then everything works lovely (but if I ever Move into an endstop I'll break my machine)

Any ideas?

Thanks

Pete

p.s I attach my configuration file in case it matters Configuration.h
Re: Motors will Home but not Move with ENDSTOPS_ONLY_FOR_HOMING set
September 10, 2012 04:07PM
Perhaps it is because RAMPS has both min and max end stops. Have you got both connected? If not perhaps you need to define the max pins to be -1.


[www.hydraraptor.blogspot.com]
Re: Motors will Home but not Move with ENDSTOPS_ONLY_FOR_HOMING set
September 11, 2012 03:43AM
Nophead,

You're a star!

Yes I'm sure that's it - I'll set the MAX_PIN values in pin.h to -1 and try tonight

Thanks

Pete
Sorry, only registered users may post in this forum.

Click here to login