Hi Jeff,

> Chris identified some other diameter mode concerns in another thread,
> which might bear review:
>   

Yes, I started that thread. from that discussion and referring to 
various machine manuals, simply scaling read_x() will work. I and R for 
instance are always radius.

I also did some research to try to find how other controls switch 
between radius/dia. As far as I can find out, it is normally fixed or 
can only be changed by tweaking a parameter buried deep in the setup 
pages. I haven't found any reference to switching using a G-code.

So if the switching is done with g-codes, what would be a suitable 
G-code pair to use?

Also, how would a GUI keep synchronized? In radius mode the GUI needs to 
display X as radius, in diameter mode it needs to display in diameter.

Thanks,
Les




Jeff Epler wrote:
> Lathe incremental mode should probably be set by a modal code (like
> distance units are set by G20/G21), not by a canon GET_EXTERNAL call.
> If it's not a modal code, then you can't switch between diameter and
> radius mode without changing inifiles.
>
> Chris identified some other diameter mode concerns in another thread,
> which might bear review:
>     http://article.gmane.org/gmane.linux.distributions.emc.user/10436
>
> Jeff
>
>   

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to