Marlin 2.0.9.1 not turning off laser at end of cut

Hi,

I am using Marlin 2.0.9.1 on a Ramps 1.4 board to control my Chinese co2 laser.

I have noticed in some conditions, at the end of the cut, the laser does NOT turn off. As you can imagine, this is dangerous. When this happens, even if I issue a M5 command via the console, the laser does not turn off. There may be a bug in the in-line-power code that is causing this. I have noticed that this seems to happen when my cuts start with a warning that the cut would be out of bounds. I’d get this because I cannot home Y when I have a rotary tool attached, so I just fake it with G92 commands.

The workaround I have in place is by appending some gcode at the end of the cut. This is done by going to the device setup, and adding G1 X1 I S0 to set the power via inline move command to 0.

Has anyone else experience this? Laser on/off control works fine in all other operations, just doesn’t respect M5 at the end.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.