svenhb / GRBL-Plotter

A GCode sender (not only for lasers or plotters) for up to two GRBL controller. SVG, DXF, HPGL import. 6 axis DRO.
https://grbl-plotter.de/
GNU General Public License v3.0
647 stars 172 forks source link

`M300` G-Code stops streaming #357

Closed merny93 closed 9 months ago

merny93 commented 10 months ago

Describe the bug

Some plotters, such as the the XPlotter, use a M300 SXXX G-Code to control a servo motor z-axis (admittedly a interesting design decision). GRBL-Plotter interprets the M300 SXXX G-Code as a M30 plus some extra bits and immediately stops streaming.

To Reproduce

Stream any G-Code file which includes a M300 S90 code. The G-Code syntax highlighting even shows the M30 bit in yellow.

Expected behavior

M300 should not be parsed as M30 and streaming should proceed.

svenhb commented 10 months ago

I would say it would be an enhancement... Will try to implement

svenhb commented 10 months ago

Try this version: https://github.com/svenhb/GRBL-Plotter/releases

merny93 commented 6 months ago

Thanks!

Sorry I did not get a chance to test it. My Windows machine gave up on me and I switched to a linux based tool :(.

Great work on the software tho! Helped me a lot to get set up on my new machine!