Xtool S1 not working with V2.2.00

I’ve recently updated my Xtool S1 20W to V2.2.00. Today I intended to start my first project with the new version.

First the following message showed up: "XTool: user start script line 1 dropped - not g-code this machine can run : $L”. In addition to that the laser head starts moving but the laser itself stays off (does not burn). Reading through the forum I found the thread “XTool S1 Error with 2.2”. Deleting the code “$L” in the first line of the start G-Code resolved the error message problem. Unfortunately it didn’t resolve the problem that the laser is not working.

Any help is much appreciated.

Press “Start” a second time. For some unexplained reason, the latest Lightburn has an error where the first “Start” fails, but the subsequent “Start” works (and that seems to be true for every pair of “Start” presses. At least I tested 4 presses, #2 and #4 worked where #1 and #3 did not)

There’s also the issue that the S1 can report an error, “Lid Open”, even when the laser isn’t running. Those you can ignore.

It would be great to hear from Lightburn here an update on S1 issues.

Hi David,

I just read your answer. Without testing your proposal I’m doubting that pressing START two times will help. Pressing once START the laser head starts moving without turning the laser on. Even if I press START a second time and the laser is turned on it will start burn at the wrong place.

What I foregot to mention in my first post: the speed of the laser head is far too fast. Cutting 5mm plywood I need a spped of 3mm/s with 90% power. I can asure you that the speed is much higher.

Had the same problem. Posted for help as you did, no solution provided. i Finally have a solution. If you go to the Announcements portion of the Forum the very first Topic “xTool Compatability Update” explains that you no longer add an xTool .dev file in order to add the S1 to Lightburn. The Topic explains in great detail how add the xTool Lasers. I had to use the manual method as it did not automatically detect my S1. You have to know the bed dimensions an the Y offset in order to install the Laser. Also if you used the Lid Disable and Lid Enable Macros you have to add them manually after setup. If you do not know how to do this let me know and I will explain in detail.
If you need a quick fix for this problem there is another solution. Open Lightburn and open the device settings. Click on the GCode Tab. In the startup box you will see the offending $L entry. Simply delete it. It worked for me. I eventually did the above mentioned install as I thought that it might give better performance.
Good Luck

I just read your answer. Without testing your proposal I’m doubting that pressing START two times will help. Pressing once START the laser head starts moving without turning the laser on. Even if I press START a second time and the laser is turned on it will start burn at the wrong place.

Try it and let me know what happens. Yeah, I find it really strange.

I‘ll try out both tips tomorrow evening and will give you feedback.

Hi there,

the short version is that the user start script you have is no longer necessary. The 2.2 xTool protocol already has those commands embedded into it, because we can now reliably detect the model type on connection. We do it for you now.

Just go into your Device Settings…GCode Scripts and clear out the old contents.

The more technical answer is that $L is a special command that cannot be run twice in a single job. So if we do it, and then you do it, then things get squirrily.

Hi Jeremy,

thank you for your explanation. I already read through the new xtool setup instructions mentioned by David. I’ll try out both later this day, deleting the Gcode in the existing setup and the creation of a new setup (to find out if the auto detect function works). I’ll give feedback as soon as I’m done with it.

Hi everybody,

just a quick feedback on the result of my tests.

First I’ve created a new device following the new xTool setup instruction. Remark: auto detect for the xTool S1 didn’t work (same as for lastingimage). Than I’ve designed a test pattern (two concentric rectangles) and started a test burn. Result: cutting works :grinning_face:

After that I’ve did the same test but with the “old” device (without the $L command in the G-code section). Result: works also :hushed_face:

As a third test I loaded the design I intended to cut yesterday still using the “old” device. Result: Laser moved much quicker than configured, movement not according to the design, laser didn’t burn. No change to my trial yesterday. :astonished_face:

At last I used the same design but with the “new” device. Result: cutting worked as expected. :grin:

Conclusion: in case of any problem with the xTool S1 in combination with the LB software update I recommend to create a new device. It’s easy and much quicker than searching for reasons / faults in the old configuration.

Did you try pressing “Start” twice with the old device?

Hi David,

no, I didn‘t try that. I was just happy to have solved my problem. Maybe I‘ll do that in the next days and give you a specific feedback on that.

From the very start I could not get Lightburn to work well with my new S1. This forced me too learn the XCS software. I miss lightburn, it worked for me for a long time.

I grabbed 2.2.01. I removed my previous (S1) laser settings. Then I started following these instructions: Find My Laser - LightBurn User Guide

  1. Turned everything on, plugged S1 USB cable into my Mac.
  2. Launched Lighburn
  3. Clicked on “Devices” then “Find my Laser”. Clicked on “Next” until the Device Discovery Wizard came up. This did NOT find the S1.
  4. So I followed the instructions here, starting at Part 2: xTool - LightBurn User Guide
  5. I clicked on “Devices” then “Create Manually” I selected “XTool” from the choices and “Serial/USB”
  6. For device size, I entered 498mm x 319mm.
  7. And start position is ‘top left corner’

That seems to work correctly (FINALLY). Move->Focus Z works as expected. Framing happens where the head is positioned. “Start” runs where the head is located. No more “Can’t execute command on Line 1” Opening the lid doesn’t generate an error.

This works, but it does strike me as more painful than it should be.

I still have to calculate and enter the ‘red x’ offset for my 10w laser.

Is this what others are seeing with XTool S1 and Lightburn 2.2.01?

Hi David,

I followed exactly the same way as you. Regarding the offset there is - if I‘m not completely mistaken - a function in the xTool software to figure it out. But if you like you can start with mine.

x = -1,28mm y = 22,58mm

The offset is laser-specific, I believe. So the 10w value is not the same as 20w or 40w.

dave

Sorry for the sarcasm here. What’s wrong with Xtool?

My first try to answer was incorrect and I was unable to edit it to fix my mistakes. Let me just say my understanding is that G-Code, although based on a formal standard, allows for a lot of implementation freedom. Both Lightburn and XTool say they’re motivated to get Lightburn working correctly on XTool devices (and this helps XTool sell more lasers particularly to shops with multiple devices.) I do think Lightburn could do a better job capturing the specific details for XTool devices; that’s probably 2 different pages depending on USB vs IP devices.

But this group has been VERY helpful getting my laser up and running.

We are working on it! I expect we’ll have a much better device selection process sometime in 2027.

Of course, documentation is easier to fix than code. :grinning_face:

That is a contradiction. The freedom is in implementing GCodes not in the standard.

What xTool seems to do is redefine what some GCode operations are supposed to do (I may be wrong here). Standard GCode in their machines does not perform as expected, or according to any standard. The infamous diagonal across a square is a prime example.

xTool, from what I have read, makes a good machine. Unfortunately, it seems they went to the Apple School of Marketing. If you want full performance and compatibility, you must use only their products.

I am pretty sure most people do not like being captive to a single source of products.

I fully respect the Lightburn developers that can sort this out. I did software applications and hardware development for a living, and I am seriously glad I am retired.

[Soapbox End]