Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: thosj on October 31, 2010, 08:01:05 PM

Title: Soft Limits and a Linear A axis
Post by: thosj on October 31, 2010, 08:01:05 PM
Does Soft Limits NOT work with an A axis even though it's set to be linear? I have Soft Limits on and all three normal axes, X, Y, and Z work fine, but A does nothing. Am I missing a setting somewhere, or is this the way it is? I've tried reversing the A axis with Ports & Pins/Motor Outputs and also in Homing & Limits, check REVERSED, nothing makes the soft limits work.

BTW, BP clone with servos on X, Y, Z quill, and A knee. It works great other than the Soft Limits issue, so far.

Tom
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 03:20:56 AM
Should work fine I think, have you unchecked the A as Angular on General Config page?
Hood
Title: Re: Soft Limits and a Linear A axis
Post by: thosj on November 01, 2010, 08:03:25 AM
Should work fine I think, have you unchecked the A as Angular on General Config page?

Yes, I have unchecked A as Angular in General Config. Soft limits does nothing on the A, at least at the bottom of the travel. I may have only checked jogging with my pendant, I'll try today with the jog key to be sure. The other 3 axes Soft Limit just fine.
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 08:08:01 AM
Oh sorry read wrong, was thinking it was hard limits you were talking about. Regardless, soft limits should work fine but I will just go test now here.
Hood
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 09:14:14 AM
Just tried in simulation here and softlimits work fine for A axis, are you sure you have the softlimits enabled and rthe correct values set on Homing and Limits page?
Hood
Title: Re: Soft Limits and a Linear A axis
Post by: thosj on November 01, 2010, 09:23:41 AM
Just tried in simulation here and softlimits work fine for A axis, are you sure you have the softlimits enabled and rthe correct values set on Homing and Limits page?

Soft Limits is enabled, it works great in X, Y, and Z, axis grinding to a halt before stopping just short of the limit switch. XYX work,  just not A. I think I have the correct values in Homing and Limits, they're the same values that were in Z when A was Z, last week!

I do run the dev version, and SS, so perhaps this is another potential dev version thing, or perhaps even an SS thing. Another one not worth switching for, I guess!
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 09:33:25 AM
As long as you have the machine coords zero the same as it was for Z then it should be fine, ie A fully up is zero and move down and DROs go negative. So in Homing and Limits A Max would be zero and A Min would be a negative number equal to your travel.

Hood
Title: Re: Soft Limits and a Linear A axis
Post by: thosj on November 01, 2010, 09:45:38 AM
Well, I have full DOWN as Zero, moving A positive moves the knee UP, opposite of the way it was when it was Z, of course. Doing this to use Ray Livingstons "tool comp with knee" macros which assume this. In homing and limits A Max is positive 15.1 inches and A Min is zero. Should be the same difference, right?
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 10:26:51 AM
Ah Ok, yes should be as long as that is what your DROs are showing when you move the axis. So it may well be the Dev version but if you want to attach your xml I will give it a test here.
Hood
Title: Re: Soft Limits and a Linear A axis
Post by: thosj on November 01, 2010, 10:44:35 AM
Here it is.
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 10:51:30 AM
See you are using the SS so afraid I will have to wait until I get home tonight to test it out as that is where the spare SS is.
Hood
Title: Re: Soft Limits and a Linear A axis
Post by: thosj on November 01, 2010, 10:54:06 AM
No problem!

Thanks
Title: Re: Soft Limits and a Linear A axis
Post by: Hood on November 01, 2010, 02:38:36 PM
I think it is an issue with the SmoothStepper, seems it doesnt observe soft limits for the  A axis from the short tests I have done here.
Hood