Follow-up of my other thread, since the issue is something completely else.
It seems Laserweb uses the Z-axis to control the laser?
I used the GRBL config, and Laserweb won’t fire the laser. I can fiddle around with the gcode settings, and add M3/M4 and M5 gcode to “tool start/stop”. Now Laserweb fires the laser in M3 mode, so it comes to a full stop when turning the laser on or off. And I have to manually edit the laser power settings in the config for every change, so I don’t know how to set the power through the tool menu (laser cut, laser raster, etc.).
I can’t figure out if this is about GRBL that needs to turn on the laser on G1 moves, or Laserweb that needs to be configured to use the M4 mode correctly.
Hardware: arduino uno, CNC shield. Laser PWM going to Z+, which is the PWM pin of the arduino.
Laserweb 4.0.998, grbl 1.1h
Laser PWM and M4 dynamic power work correctly with LaserGRBL.