1
Mach4 General Discussion / G code stops after M03 command
« on: August 25, 2023, 06:29:10 AM »
I have been updating a Boxford vmc260 which has been running mach3 with USS and PMDX125 in windows 7 for 12 years.
The machine is now configured keeping the PMDX125 but changing to ESS and Mach4 in windows11. Having worked through getting tool change and probing working it was time to try running a simple program to drill a couple of holes centre drilling first to test the tool change.
After setting work coordinates and running the Gcode the machine carried out the tool change, started spindle (which is an ac servo set up as motor 5 step and direction) and immediately froze.
If you turn spindle off from the screen and back on again until the gcode reaches M05 and it pauses again.
I have stripped the gcode back to 2 lines:
S2000 m03
G90 G00 x25 y25
Run from MDI spindle starts but moves are not executed.
If I remove the S2000 m03 the move does work so it has to be due to the spindle command.
I have disabled ‘wait on spindle to stabilise in Control Spindle tab.
Mach4 V4.2.0.4809 licensed
Has anyone come across this or have any idea where I am going wrong?
Regards
Art
The machine is now configured keeping the PMDX125 but changing to ESS and Mach4 in windows11. Having worked through getting tool change and probing working it was time to try running a simple program to drill a couple of holes centre drilling first to test the tool change.
After setting work coordinates and running the Gcode the machine carried out the tool change, started spindle (which is an ac servo set up as motor 5 step and direction) and immediately froze.
If you turn spindle off from the screen and back on again until the gcode reaches M05 and it pauses again.
I have stripped the gcode back to 2 lines:
S2000 m03
G90 G00 x25 y25
Run from MDI spindle starts but moves are not executed.
If I remove the S2000 m03 the move does work so it has to be due to the spindle command.
I have disabled ‘wait on spindle to stabilise in Control Spindle tab.
Mach4 V4.2.0.4809 licensed
Has anyone come across this or have any idea where I am going wrong?
Regards
Art