Makeblock laserbox Pro- using xTool

Hi everyone,

I’m trying to use G-code to directly upload cutting instructions to my Makeblock Laserbox Pro.

I don’t have extensive prior experience, but I’ve managed to successfully send basic G-code commands (…using ChatGPT-generated G-code) and get the laser cutter to move and “cut” a rectangle shape.

However, I’ve encountered a significant issue: after finishing the rectangle, the laser stays on. This prevents me from safely sending another file for cutting, and it obviously poses a safety hazard.

Currently, I’m using xTool Creative Space, as I understood it’s the only compatible software for the Makeblock Laserbox Pro. I’m wondering if there might be alternative software options, like Lightburn, that could also work.

I assume there must be a specific command or setting to turn off the laser at the end of the operation, as manually shutting down after each job isn’t practical or safe.

Does anyone here have experience using G-code directly with the Laserbox Pro, or know of alternative compatible software that can offer better control?

Any help or pointers would be greatly appreciated!

Thanks in advance

From a post on Reddit that I answered.

I’m not really up on GRBL, but as far as I know it talks over USB with just a terminal program. Or via gcode sender. I’d think you could just connect to it with a terminal (or virtual terminal).

With GRBL, there is lots of documentation on how it sends commands. I though just sending a spindle speed of 0 (S0) would turn the laser off.

If you’re going to send it controls it will be byte by byte…

:smiley_cat:

1 Like

Hey! thanks for the quick reply.
I’ve tried connecting it via usb to connect to the laser cutter, and then I could send commands via the gcode sender.
can you elaborate a bit more on the spindle speed? i tried this commands:
; Turn off laser
M3 S0 ; Set laser power to 0
G4 P0.2 ; Pause to ensure command execution
M5 ; Fully disable laser

You’ll have to hang around, as I stated I’m not up on grbl or gcode.

Maybe @misken can answer you about the generated code…

:smiley_cat:

1 Like