Laser stopped moving Laser stays on

I recently upgraded to 1.5.02
Twice the laser has stopped running a file for no apparent reason. The first time it was “error 24” I reinstalled the machine setup (GRBL) That seemed to fix the problem but
then I had a similar but worse problem.
The machine stopped moving but the laser stayed on.
Here is the message from the console:
rror:25

A G-code word was repeated in the block.

error:20

Unsupported or invalid g-code command found in block.

ok

error:1

G-code words consist of a letter and a value. Letter was not found.

ok

error:25

A G-code word was repeated in the block.

error:24

Two G-code commands that both require the use of the XYZ axis words were detected in the block.

COMGO 1.0 [‘$’ for help]

I have a Comgrow Z1 with a 20w Lasertree laser.

Since no one has responded yet,…

This seems strange to me. I believe the “Z” axis should not appear. This machines only works on two axes…
Can you open the file’s Gcode to see if there are commands for the Z axis?

Thanks for the reply. I was hoping for more responses.
I will take a look and post the G code.

In LightBurn, click File, click Save GCode and save that file somewhere convenient.

Drag and drop that file into a reply here.

The Error 1 message is most often caused by selecting the wrong device type when setting up the laser engraver.

Please scroll back in the Console window and capture a little bit more of the first error message and the info just before that.

Thank you for copy/paste as well. It’s much easier to read than cel phone pictures. :slight_smile:

Thank you both. I am not sure if I saved the gcode but I will see if I can find it I will post it. I am in the process of setting up the machine again just to make sure I have it done properly. Then I will do some test runs. If the machine does the same thing I will be back. Either way I will post. I hate it when forums drop the thread without a resolution.
Thanks again

I updated the device and did several test runs with good results and no problems. The job I am trying to do is large image. The final test of the day was going to be 12x12 inches. I was running fine then got this error message:
<Idle|MPos:19.775,19.775,0.000|FS:0,0|Pn:P|WCO:0.000,0.000,0.000>

ok

Starting stream

Layer logo

error:25

A G-code word was repeated in the block.

On or near line 0:

error:23

G-code command in block requires an integer value.

On or near line 0:

Job halted

Stream completed in 19:28

error:25

A G-code word was repeated in the block.

ok

error:24

Two G-code commands that both require the use of the XYZ axis words were detected in the block.

COMGO 1.0 [‘$’ for help]
The laser stopped moving but the beam did turn off this time. (so that is better). The file is too big to upload. Here is a link https://drive.google.com/drive/folders/1Od2G2gRij5FezJJhlH2FRdMxOpTADfD8?usp=drive_link