621
General Mach Discussion / Re: Custom M11/M10 code headers and footers
« on: December 27, 2020, 01:51:47 AM »
It may do but it is not perfect.
Your M10P3 and M11P3 commands will only come into effect when followed by an axis (any axis) movement.
So…
Your header may fail if the first Gcode movements are G00 positioning moves. (The laser will turn on before it gets to the G01 moves).
Your footer may fail if the Gcode ends at the X0, Y0 position. (the laser will stay on because there is no actual axis movement to X0, Y0 as it is already there).
Tweakie.
Your M10P3 and M11P3 commands will only come into effect when followed by an axis (any axis) movement.
So…
Your header may fail if the first Gcode movements are G00 positioning moves. (The laser will turn on before it gets to the G01 moves).
Your footer may fail if the Gcode ends at the X0, Y0 position. (the laser will stay on because there is no actual axis movement to X0, Y0 as it is already there).
Tweakie.