I am trying to work out a problem i am having with my GCode to run my laser and think I have found a bug. I have gcode that runs M10 Q255 and M10 Q0 commands to turn the laser on and off. I am finding erratic results and the laser does not appear to be turning off all the time when commanded. The laser and it's driver are working fine in the UCCNC Laser Plugin and on a GRBL controller. This problem seems specific to the M10 command. Below is a link to some photos of the problem, the gcode that was used, the original image for testing and a video screen capture I did showing step by step the problem. I have also uploaded the screen capture video to youtube for easy viewing. Can you please have a look at the problem and see if I am using the M10 command correctly and if so, what might be the problem.
All the files used for testing
http://bit.ly/2yihFLa
The youtube screen capture
https://youtu.be/ZTsMR2MK8D0