I finally got some time to play around with this. Simply changing the 
read_x function to halve the X axis seems to work. I had a look through 
a Fanuc lathe manual and that appears to be exactly what they do. Axis 
already shows the X radius and diameter so it doesn't really need 
changing. DTG uses radius as well but as it is a blended value, it 
wouldn't really be sensible for it to work in diameter anyway.

Currently I have hard-coded the read_x function to halve the X value 
which is of course not the correct way to go. The read_XX functions have 
access to the system parameters so it seems the sensible way to go would 
be to dedicate a parameter and maybe a G-code for diameter mode. Is 
there a list anywhere of the system parameters currently in use?

Les

------------------------------------------------------------------------------
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-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to