xml is attached.
I had a few PM's with Hood last night, thinking I was doing something stupid in the g-code, until I remembered about this problem.
Last time I noticed it because I heard the stepper stall as I moved into position before starting the spindle, whereas this time I had the spindle running before the move, so I never heard/noticed the stepper stalling.
I know that to get around the problem, I can just add a move to the aproximate position I need for the next tool, but I'd like to solve the problem than continually have to work around it.
Here's a snippet of g-code that caused the problem last night
N270 M5
N280 G0 X125 Z100
N290 T0404 (ER Tool gang with 6.8mm drill in rear)
N300 M3
N310 ;M830 X0 Y0 Z-33.5 R2 Q3 W0.5 P0 D0 F100 I0 J0 L1
N320 M830 P310
N330 M5
N340 G0 Z10
N350 T0606 (2mm MDT)
N360 M3
N370 G0 X16
N380 G0 Z-31
N390 F50
N392 G1 X14.8
N394 G1 Z-32 X14
N400 G1 X0
N410 G0 X16
N420 M5
N430 G0 Z0
N440 M30
Line 340 to 430 were what I added last night to make use of a MDT tool to chamfer and part off.
Line 370 is where the problem occurs, because after the tool change, the x-axis has to move near full travel (about 80mm travel) to reach X16.
If T6 was commanded to X16, it would have to move 8mm (I run in diameter mode), so it's as if Mach tries to move that 80mm in the time it would take to move 8mm.
(X0 for T4 is just of home position, whereas X0 for T6 is nearly full opposite travel)
The DROs are updated to the new tool offsets as soon as the toolchange is called, so Mach, or at least the SS, knows where the tool is, but on the next move, Mach fails to allow extra time for any additional movement caused by the changed tool offsets.
The strange thing is, this problem never affects the Z-axis. I've got tool changes where the Z-offset is 100mm different, yet on the next move after a tool change, all the moves are spot on.
I'm currently running the latest stable SS plugin (15ogx I think), but not sure what version of Mach I have on the lathe computer.
Once I get this latest batch of parts run, I was going to try updating to the latest recommended versions.