All,

LinuxCNC uses the TnM6 command for tool changes, G43n for offset application, 
regardless of whether you're using a lathe or mill.  Fanuc and others don't use 
M6/G43 on lathe controls, using instead a four digit T number where the first 
two digits correspond to geometry offsets and the second two digits correspond 
to the wear offsets:

T01xx selects tool one, applies X/Z offsets for tool one.
Txx01 selects the wear offset register one.

A nice explanation from Peter Smid can be found on page 104 of this book: 
http://books.google.com/books?id=JNnQ8r5merMC&printsec=frontcover&dq=cnc+programming+handbook+peter+smid&hl=en&sa=X&ei=GZqqT5S_NYO08ATUq-SgAw&ved=0CEoQ6AEwAA#v=onepage&q=cnc%20programming%20handbook%20peter%20smid&f=false

In this paradigm, tool changes only require the Txxxx command to change tools 
and apply offsets- no M6 or G43 is required.

I've thought about implementing this using M Haberler's g code remapping, but I 
would prefer to do it in the source if the changes would be accepted.  On one 
hand, it would bring a more industry-accepted standard to LCNC lathes.  On the 
other hand, it would represent a change to existing behavior.  

Any comments or direction are appreciated.  Thanks!

Daniel Rogge




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to