Falcon A1 Pro error 24: Two G-code commands that both require the use of the XYZ axis words were detected

Recently got a new falcon A1 pro 20W. Firmware version 1.1.10.

Updated to Lightburn 2.1.04 and got the camera all calibrated and working as expected. Ran some materials tests, all ran without error. But I’ve been trying to cut cardstock and getting an error on the machine: “File content error. Check file. 01001024. The Creality error page says this means “More than one g-code command that requires axis words found in block.”

The error in Lightburn says:

error:24

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

At first I thought it was probably just the custom font I was trying to use. But it is happening with traced images, imported SVGs and other fonts.

What I’ve tried:

  • making the image first in Inkscape and then importing as SVG
  • Converting font to path. Welding and not welding
  • Turning “enable g code clustering” on and off.
  • Different laptops (first was running Win 10, second one is Win 11)
  • Different USB cables. plugged in to USB C in the machine to USB A in my laptop.
  • Lowering speed. Increasing speed.
  • Changing optimizations settings on/off.
  • Turning various z axis settings on and off.
  • Different fonts. Some fonts work, some throw the same error. If I ungroup the letters and cut them one by one instead of all together, it works without error for all fonts.
  • the same error happens with some images too. Traced images in lightburn or imported as SVG, same error. But only sometimes. In one test I had 2 simple pumpkin outlines and I ran it 3 times. It cut both without error twice and then on the third run it failed on the second outline.

And all these fonts and images cut in Falcon Design Studio without error at any speed. I can’t reproduce the error in their software, it only happens in Lightburn.

Im not sure what else to try. Are there other settings I need to look at? Any suggestions?

Unless you know differently, make sure the Device Type is set to plain GRBL, rather than a GRBL variant or any of the truly weird devices:

Check it by clicking the Devices button in the Laser window.

Also make sure GCode Clustering is turned off.

Yes the setting “enable g code clustering” is off

It’s set to just “GRBL”

Tell us about your USB cable connection from PC to laser. Length, describe the cable, type of connectors on both ends, and anything else you can think of.

Machine side is USB-C, the plug to my laptop is USB-A. I’ve tried 4 cables now, the shortest was 6in, the longest was 6ft. One is Anker brand, one is CableCreation brand, one is remarkable brand, (came with the tablet) and the last one I don’t know, there’s no brand label on it, I think it’s the one that came with the laser but I’m not positive. The Anker one has a kind of fabric wrap the others are all just plastic. They’ve all had the same error.
USB power saving is off.

I have the power strip with the laptop and laser plugged in about 8in away from the machine. And I have the air purifier next to the power strip. Should I move that farther away?

  1. You did not mention any of the USB cables having a ferrite (big knot) on them. A quality cable will be shielded and have the ferrite noise suppressor.
  2. Yes, the air purifier could be an RF noise source as it cycles on and off. If it is plugged into the same power source as the laser, that could also be an issue.

I found a USB cable that has a ferrite bead and tried that. No difference. I moved everything away as far as I could keeping it on my desk but that’s only about a foot and a half away, no difference. I’ll work on moving the power strip/air purifier/air pump off the desktop, it’s just a bit more hassle.

I actually on have one outlet on this side of the garage where the laser is. so it would have to be on an extension cord to be on a separate outlet.

But these errors only happen in lightburn. The same SVG files imported into Flacon Design Studio run just fine. And I would’ve thought if it was the cable or interference that I’d have similar problems in both software programs.

Not necessarily. There is a big difference between streaming and sending commands one line at a time. Streaming is much faster but there are few wait periods. Any interference during the stream has a major impact on the data stream.

In the Device Settings window, Basic Settings tab, is an Enable DTR signal switch. Try turning that on. I seem to remember something about that switch and Falcon machines.