Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Scott_M on July 25, 2013, 04:12:17 PM

Title: "Another" Soft Limits issue/problem
Post by: Scott_M on July 25, 2013, 04:12:17 PM
Hi Folks

I am having an odd soft limits issue. I can not turn soft limits on without getting the "Machine out of limits for soft limit activation" Error
It used to work fine then one day I turned it off for some reason and now I can't turn it back on.
Basics
Machine is referenced
all limit switches are working properly
I home to the upper right hand corner of my envelope so all moves away from home are negative.
The machine coordinates zero when homed.
In the attached screenshot the dro's are showing that it is indeed away from the limits ( in machine coordinates )
Machine setup units are inches

It has worked this way for years and then it won't turn back on.
I have tried changing the button function from having the radio button "SoftLimits Toggle" to OEMCode 119 to Execute VBScript DoOembutton119 all with the same result. I can't turn it back on.

I am really hoping I just missed something obvious

Thanks for any assistance

Regards

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 25, 2013, 05:16:25 PM
Well first thing to do is home then switch to machine coords and see what they say, if they are within your soft limits there should not be a problem.
One thing however the Home Off box is meant for setting a Home Offset up. What that means is if your home switches are at the positive end of the travel you enter a value in the Home Off box equal to the distance the switches are away from fully negative.
That would mean when you home the machine coords get set to that value rather than zero and that in turn means your machine coords conform to convention, ie X Y zero machine coords are all axis fully negative.
Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 25, 2013, 07:02:17 PM
Hood
Thank you for your reply.
In the attached screenshot, the machine was homed, I switched to machine coordinates it read 0,0,0. ( which is technically outside of the soft limits but they are not on yet. )
I then jogged each axis away from the limits about an inch and a half and tried to turn on soft limits. ( now I am within the soft limits )
It has worked with these settings for the last several years, I can't figure out what happened or what has changed.

I will try the "Home Offsets" But am unclear on why I would have too. Should I uncheck auto zero ?

Thanks again

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: ger21 on July 25, 2013, 08:56:09 PM
What are the actual machine coordinates when you see the error?
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 25, 2013, 10:34:26 PM
Hi Gerry

It will error anywhere at any position. I have jogged to numerous positions and tried to turn it on and it errors even the exact middle of all 3 axis.

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 02:57:10 AM
Can you attach your xml and I will see if I can find a problem.

Regarding what I mentioned about Home Off. Its not necessary to do that but it is a good idea as it will set your machine coords with convention.
It is not your problem however and it was just information about how it can be done to save you having to have minus machine coord setup.
Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 08:17:37 AM
Thanks Hood
I really appreciate it !

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 09:10:42 AM
Ok try this, go to ports and pins and disable the three home switch inputs, go back to main screen and press RefAll. Mach will home where it is and LEDs go green. Press Soft Limits and see if they will switch on. If they do then go back into ports and pins and enable the Home switch inputs. You should then be able to home properly now.

Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 09:39:09 AM
Bummer

I disabled homing inputs on all 3 axis , Hit ref all, it zeroed where it was, all lights went green.
Tried turning on soft limits........same error " Machine out of limits for soft limit activation "

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 09:48:19 AM
What version of Mach are you using?

Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 09:55:08 AM
3.042.029

Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 10:06:36 AM
Ok thats fine.
 Can you load the standard screenset (1024.set) and see if that helps, you may have to do the steps mentioned above again.
If not try this xml.
Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 10:30:40 AM
I do not have the standard screenset so I tried your xml with my screenset.

SUCSESS !!!!

All seems to be working again.
I can not thank you enough for your help on this, it is truly appreciated.
Out of curiosity what did you change in the xml ?
I had tried changing the value of oemdro119 and oemled119 from 0 to 1 but that did nothing so I changed it back.

Once again

Thank you


Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 10:41:17 AM
I simply did as I said above, disabled home inputs in  ports and pins, homed then enabled soft limits and then went back and enabled the homes.
Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 10:50:57 AM
That is weird , I wonder why that would not work at the machine.

Again
Thank you very much !  all is well.


Scott
Title: Re: "Another" Soft Limits issue/problem
Post by: Hood on July 26, 2013, 10:53:36 AM
May have something to do with the screenset, I didnt have the Tormach one you had so had to load the default Mach one.
Hood
Title: Re: "Another" Soft Limits issue/problem
Post by: Scott_M on July 26, 2013, 11:08:40 AM
Hmm

Maybe.

Scott