gnea / grbl

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
https://github.com/gnea/grbl/wiki
Other
4.08k stars 1.61k forks source link

How to ignore Commands #796

Open iplayfast opened 4 years ago

iplayfast commented 4 years ago

I've got a project that is a sand table. The idea is a ball bearing is dragged through sand on a tabletop. This works fine, however, I want to send it 3d printer gcode files, where there are move relative commands or other commands that grbl doesn't know. It gets stopped in its tracks. What I would like is an option where any commands it doesn't understand it is just ignored. (z axis, heater and so on).

Do you think this is possible?

zeevy commented 4 years ago

If those commands does not produce alarm or crtical errors on grbl side then those can be ignored on the gcode sender gui you are using

doppelhub commented 4 years ago

I don't completely understand what you're describing, but unknown grbl commands can be formatted/removed prior to sending them to grbl (i.e. on the host layer). The simplest method is to format non-g-code commands into comments '(' and ')'.

iplayfast commented 4 years ago

Yes I know that is one option. The request was to ignore unknown commands in the grbl firmware. I'm getting critical errors, when sending 3d printer gcode to the grbl. I think it has to do with temperature settings. Which now that I think of it, ignoring wouldn't help, because the code sender waits until the proper temp has been reached. I think this issue should be closed. Sorry for wasting your bandwidth.