Hi All,
I am having problems with Mach3 not completing the movement to the last x, y, z position requested in some G codes that I have written. This occurs in both simulation and on my milling machine.
It appears that if a requested Z position is reached before a requested X position, Mach3 stops. When the code is run for the next part, Mach3 "remembers" that it did not reach the requested X destination and completes the move that it should have done previously. If a requested X position is reached before a requested Z position, all appears to be OK.
Below is an example of my faulty code:
(This routine spot drills 8 holes)
(CJH 26Jun07)
G00 G17 G21 G40 G49 G50 G64 G80 G90 G94
M6 T1 (TOOL Ø5 Spot Drill)
F1000
M3 S2500
M8
G00 X8 Y14.2 Z5
(Spot Drill Routine)
N1G81 X8. Y14.2 Z-2.1 R3 F50 G99
N2 X27.5
N3 X47.5
N4 X57.5
N5 X87.5
N6 X97.5
N7 X117.5
N8 X137.
N9G80
M9 M5
G00 X0 Y0 Z50
M30 (End and rewind)
It is the line "G00 X0 Y0 Z50" that X0 is never reached despite the fact that the following M30 command is reached and operates correctly. The X position reached is always approx 29mm.
Am I missing something?
Regards
Chrisjh