On 06/14/2011 12:09 PM, andy pugh wrote: > I have found a rather odd behaviour in Lathe mode in both 2.5-pre > (pull and recompile last night) and 2.4.6. The behaviour in my > real-world 2.5 machine is rather stranger than in the 2.4.6 sim I ran > in a virtual machine. > > If you load a tool in MDI with (for example) M6 T4 G43 then everything > works as expected. > > However, if the toolchange is a line in a G-code program (for example, > http://pastebin.com/manJCbkv then stop at the M0) then I get behaviour > as seen in > http://imagebin.org/158096 . Note how commands to go to X=17 and Z=40 > have not resulted in the DRO showing those values, despite being in > relative, actual coordinates mode. > There is a (constant, repeatable through reboot) offset of 10.235mm > between the requested position and the axis position. There is also > exactly the same offset discrepancy in touch-off, ie touch-off Z to 0, > DRO reads -10.235. The X and Z discrepancies do not match the tool > offsets (also visible at the bottom of that screenshot) > > Very similar behaviour can be seen in the lathe sim config in 2.4.6, > except that in that case the offsets do exactly match the tool > offsets. > > In both cases a standalone G43 command in MDI clears the problem, and > putting the G43 on a separate line in the G-code prevents the problem > occurring. > > I don't think this is right? Surely whatever you do, at the end of a > move the DRO should show the same number as was in the G0? > I have some problems using g43 and tool change on my gantry, then I use g49 to deactivate tool length compensation , and to activate it "G43 Hx" where "x" is the tool index from the tool table. It solve all problems
All the best Arnold ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
