On 09/29/2015 01:11 PM, Tom Easterday wrote: > I have the series of commands below running in Axis. Notice the M01 just > before (PROFILE2). I am using the pause/resume option to stop the program at > this point and go off and do a completely separate operation. > > When I stop the program after that pause and issue a G0 X0 with the current > tool loaded (Tool 5 in this case) the tool moves to -0.256” (below the center > point of the spindle) rather than to zero. If I issue the mdi command > (debug, #5401) I get -1.40246 which is indeed the X offset value in the tool > table for tool #5. #5401-5409 are tool offsets for X,Y, etc. ... snip > ….preamble above deleted….. > (PROFILE1) > N14 G53 G0 X0 > N15 G53 G0 Z0 > N16 M6 T0005 G43 H0005 > N17 G54 > …..bunch of code deleted…. > N80 X0.7481 Z-1.9341 F20. > N81 X0.795 > N82 G0 X1.55 > N83 M05 > N84 M09 > N85 M01 > > (PROFILE2) > N86 M01 > N87 G53 G0 X0 > N88 G53 G0 Z0 > N89 M6 T0001 G43 H0001 > N90 G96 D3000 S100 M04 > N91 G94 > N92 G0 X1.55 Z-1.0159 > ……bunch of stuff after deleted….
That's super strange and wrong! I just tried this in 2.7 with the sim/axis/lathe config and I do not see any unexpected behavior. I made a local file of the G-code you sent, commented out the "... code deleted ..." lines, added M2, and ran it. I stopped the program with Escape when it paused at the M1 on N85, and tried "G53 G0" in MDI to go to different places, and it went to the correct location for T5. The DRO and the tool info at the bottom all look sane. I see nothing wrong, and no wrong behavior. Please give more details on what you did, including the entries for T1 and T5 in your tool table. After you stop the program to go off and do the separate operation, you then move around by jogging and MDI-ing, but you don't change coordinate systems or offsets or tools or imperial/metric units or anything like that, right? And it's during these safe G0-G3 operations that the machine acts like you have the tool offsets of T1 instead of T5? -- Sebastian Kuzminsky ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
