Forum Header

Homing not working but E Stop In is ?

More
9 years 7 months ago #90154 by uptown47

rodw wrote: To use a shared home/limit switch, you need to make sure that the homing sequence is set up with an offset to move the axis off the limit switch during the homing sequence. See linuxcnc.org/docs/html/config/ini-homing.html


Great info there Rod. Thanks. That looks like it will answer most (if not all) of my questions.

I only have 5 inputs on my breakout board. 1 is the E Stop.

I ideally wanted to be able to press "Home X" and then the X axis drives to it's home switch.
Then "Home Y" and the Y axis to it's switch and so on.

I'm guessing that set up isn't possible?

I might be able to get around it by using the X Home / Y Home / Z Home buttons drive the machine via the Arduino and then put the limit switches into the breakout board inputs.

I'll read the article and play around with it some more. The info you've all given has been great though. A big thanks for your help and patience with my ignorance! Cheers :-)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90155 by andypugh

uptown47 wrote: At the moment, when the input comes on nothing happens at all and if I go into LinuxCNC and choose to Home X from the software then the X axis just winds and winds indefinitely (I presume indefinitely - certainly a lot more than 10!).


I assume that the motors are not connected to an axis yet then?

Try selecting "home-X" in the gui, then while the motor is turning, press the home switch, pause a second, and release it. Watch what happens.

With the exception of Home Search Velocity, I'm not sure how to configure these settings. Is this something you know off the top of your head? .


I know where to find the docs.

linuxcnc.org/docs/2.7/html/

Specifically:
linuxcnc.org/docs/2.7/html/config/ini-homing.html
The following user(s) said Thank You: uptown47

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90156 by uptown47
Thanks Andy I'll do that and get back to you.

It'll have to be tomorrow now, as sad as it sounds my tea is ready! And after a 12hr shift I'm going to watch a bit of TV and relax. Will post back tomorrow though after work. Thanks for the links :-)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90158 by rodw
Andy and I have both linked to the same doc but different versions. Use Andy's link (for V 2.7) as there have been some changes over time (master branch has definitely changed from 2.7).
Also consider just using a single homing button with halui.home-all

linuxcnc.org/docs/2.7/html/gui/halui.html

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90159 by uptown47

rodw wrote: Andy and I have both linked to the same doc but different versions. Use Andy's link (for V 2.7) as there have been some changes over time (master branch has definitely changed from 2.7).
Also consider just using a single homing button with halui.home-all

linuxcnc.org/docs/2.7/html/gui/halui.html


Ok, will do Rod. Thanks :-)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #90160 by uptown47

andypugh wrote: I assume that the motors are not connected to an axis yet then?

Try selecting "home-X" in the gui, then while the motor is turning, press the home switch, pause a second, and release it. Watch what happens.


Genius! We're getting somewhere. I couldn't settle without trying this so I've just given it a go (it was chips and stir fry for tea by the way - very nice - yum!).

I set the input to "Home X" but then set the X homing going in the software. When I press the Home X input the motor goes the other way. When I then release the Home X input the motor then changes direction again but at a 'creep' speed.

So... at least something is happening. Now based on your great suggestions and yourself and Rod's brilliant links I should be able to suss something out with regards to functionality for my own system.

(By the way - you are correct - the motors aren't connected to a shaft yet. I've not built the frame etc at the moment I'm just building the control panel) :-)

Please Log in or Create an account to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum