Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: lab auto man on May 03, 2008, 03:01:02 PM

Title: Can not get off the limit switch
Post by: lab auto man on May 03, 2008, 03:01:02 PM
Hi I am new to CNC and am having trouble with my home/limit switches.  I only have my x axis powered up.  On my X axis I have two switches, x-/home and x+ limit.  When I reference the table moves negative unitil it hit the -x/home switch and stops, all good.  But I can not get it to move off the limit/home switch.  The override limit on the setting tab does not seem to work.  I can keep hotting that button and it will not turn green.  I have tried the auto override and it does not work.  What am I doing wrong? 

Thanks,
Todd
Title: Re: Can not get off the limit switch
Post by: Hood on May 03, 2008, 03:02:45 PM
Are you pressing the reset button? If not you need to press that to stop it flashing before you can jog off the limit.
Hood
Title: Re: Can not get off the limit switch
Post by: lab auto man on May 03, 2008, 03:34:08 PM
I tried that but the reset just keeps on flashing.  The only way i can get it to stop in to manually move the table of the limit and then press the reset. 

Thanks,
Todd

Title: Re: Can not get off the limit switch
Post by: Hood on May 03, 2008, 03:40:12 PM
Can you attach your xml, if you are using the standard profile you will find it in your Mach3 folder, it is Mach3Mill.xml. You will need to copy it to another location on your hard drive and then rename it before the forum will accept it as an attachment, I suggest trh.xml as a suitable name to change it to. To attach a file you need to use the full reply form then choose the additional options button at the lower left.

Hood
Title: Re: Can not get off the limit switch
Post by: Chip on May 03, 2008, 04:36:58 PM
Hi, Todd

Settings Page, "Over-Ride Limits", Turn it "ON", Reset, Jog off switch should work.

Hope this helps, Chip
Title: Re: Can not get off the limit switch
Post by: sshneider on May 03, 2008, 05:04:16 PM
Do you have the Limit Override enabled in the Config--->Ports & Pins ---> Input Signals?  I had the same prob with limit overides until someone clued me in to enabling it.

HTH,
Sid
Title: Re: Can not get off the limit switch
Post by: Hood on May 03, 2008, 05:12:28 PM
Sid you shouldnt need that enabled unless you are wanting to use an external button.
Hood
Title: Re: Can not get off the limit switch
Post by: sshneider on May 03, 2008, 05:16:09 PM
Hmmm, OK.  Thanks- ya learn sumpthin new everyday!

Sid
Title: Re: Can not get off the limit switch
Post by: lab auto man on May 03, 2008, 07:55:47 PM
Thanks for all your suggestion.  I have attached the XML file Hood.   I have also broken out the scope and started looking at signal.  The 5 volts on the breakout board in not reel clean so I am starting to look at power.

Thanks again,
Todd
Title: Re: Can not get off the limit switch
Post by: Hood on May 03, 2008, 08:06:55 PM
Just tested your xml and it seems to work fine here, granted I dont have it on a machine but when I change the active state of one of the limits so that Mach thinks its triggered I am able to press the Limit Override then reset and jog away. Set the debounce Interval at 2000 and see if that lets you jog away, could possibly be noise that makes Mach think the limit switch is constantly going on/off.
 Hood
Title: Re: Can not get off the limit switch
Post by: lab auto man on May 03, 2008, 08:16:35 PM
That did it!!!!!  I will have to work on cleaning up the supply.  This is my first build.  Do you know what is a good number for the debounce on a system with a good supply?

Thanks again,
Todd
Title: Re: Can not get off the limit switch
Post by: Hood on May 03, 2008, 08:22:17 PM
mine is at 0, thats what you should aim for. Make sure your switches are decent quality and that you have the cables shielded at the control end only.

Hood