Limit switch does not turn motor off

From the original Synthetos forum (2011–2025)

Started by kcg on in TinyG Support. 3 replies, last activity May 6, 2014.

#

Hello,

It is probably a beginner's question, sorry for that:

We are using a Shapeoko with two switches on each axis. Homing works perfectly and all switches (NO) are set to the right mode ($xsn=3, $xsx=2, $ysn=3, $ysx=2, $zsn=2, $zsx=3).

When a limit switch is triggered, TinyG resets and a system alarm is output, but the motors continue to finish the last gcode command.

How can I set TinyG to stop all motion, when a limit switch is triggered?

Thank you very much for your help.
kcg

Staff #

kcg - Note that another member is chasing what sounds to be similar issue starting with this post in a tgFX thread

https://www.synthetos.com/topics/tgfx-3009-problems/#post-5821

As I said there, I don't use limit switches so have no hands-on experience, but one question that came to my mind on that thread - are you sure that the limit switches are properly wired to tinyG, specifically that the X+ switch is the one hit when X exceeds limit in + direction?

You might have to check that with a voltmeter, or perhaps there is a tinyG query you can run, I'm not sure yet myself.

#

Thanks! I posted there!

I am sure the limit switches are wired properly (measured it again!).
The strange thing is that TinyG recognizes that a limit switch was hit, but does not stop the motion.

Staff #

This is a bug in 412.01 tinyg firmware. We are working on it. Sorry for your troubles.

This topic is from the original forum (May 2014). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.