My GRBL firmware supports enable coolant control (M7) and disable coolant control (M9). Instead of using that for coolant, I would like to use it to trigger the laser power and/or the ventilation. Basically it would mean that M7 has to be sent at the beginning of a job and M9 at the end.
It’s possible, yes, but M8 and M9 are the ‘Air Assist’ functions for GRBL when using laser, so you would need to make sure all your layers had air assist enabled for it to work.
Aside from that, just change this in Edit > Device Settings to make it use M7 instead of M8:
Is it also possible to use both M7 and M8 for a job? (Note that M9 will disable both).
Might seem like a strange request, but I could wire one relay to air suction, and one relay to the 12V of the laser (actually one will be wired to pin 5 of an LM2598 but let’s ignore these details…).