Today I merged my cutter compensation work. The new algorithm handles concave corners and is not picky about entry moves. The old entry methods are still supported, as is any entry line longer than the tool radius (as is customary).
I have tested many old working programs to make sure they run exactly the same, and also crafted suitably perverse programs to verify the newly-handled cases. http://timeguy.com/cradek-files/emc/t3.png This is a program that runs a subroutine three times: once without compensation, and then with left and right comp. You can see the entry and exit moves are not special (they happen to make concave corners in this program). I believe it should also now be possible to use most/all CAM-generated compensated code. EMC2 can do the full compensation, or the CAM can compensate for nominal tool size and the user can specify a small diameter in the tool table (like -0.010) to compensate for tool resharpening. I understand (but only from hearing in passing) that this is what Synergy wants and I hope someone can test it (Hi Dave E!) I do not have any CAM programs to test with so I'm relying on you folks. Also I would especially appreciate if folks that are experts at hand-writing code with cutter compensation would try it out and perhaps come up with more perverse cases. (Hi Ed N! Hi John K!) Some things that are probably currently under-tested: lathes inverse time mode switching spindle and feed modes helixes switching absolute/relative switching inch/mm switching relative/absolute arc centers A few things that I believe were previously allowed are currently disallowed when compensation is on: reading/writing motion's digital/analog ins/outs switching coordinate systems changing tools or tool length offset enabling/disabling feed/speed override enabling/disabling adaptive feed running user-defined m-codes I think some, but not all, of these could be allowed if someone needs them. Chris ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
