Extend Space error from LightBurn, but not with RDWorks

I have a OneLaser Hydra 7 Gen2 which I use with LightBurn 2.1.02

I was seeing some unexpected Extend Space errors, even with lots of room on both the left and right side which pushed me to run some tests to find out what the maximum engravable width would be at various speeds.

What I discovered was about 20% of the bed was inaccessible to engrave at all speeds above 10mm/s. Even 11mm/s would require of 70mm of extend space on each side when it should require almost none.

After a support call with OneLaser, they tried updating the servo driver parameters, checked settings on the controller, confirmed machine settings were input correctly in LightBurn, yet the problem still persisted.
I was feeling fairly confident it was a controller issue until we decided to run a test from RDWorks.
To my surprise it succeeded.

This video shows the problem I’m having from LightBurn.

The work area for the laser is 700mm x 500mm and it uses an AC Servo motor on the X-axis with 4G acceleration and has a max speed of 2000mm/s. My quick math said that the required extend space should be in the neighborhood of 65mm when running at 2000mm/s. This is close to what I observe in reality when using RDWorks (66.275mm), however when sending jobs from LightBurn there is an extra roughly 70mm being added on top of that across all speeds.

Here is a table showing how much extend space is required when sending a job from LightBurn

And looking just at 2000mm/s, here is the same for RDWorks

The LightBurn preview matches what I would expect to see on the laser, but you’ll notice the large additional area on each side that should be usable.

Anyone run into something like this before?

Hi @jds580s

Could you check the Overscanning setting on that engraving layer?

In LightBurn, double-click the fill layer in the Cuts/Layers window to open the Cut Settings Editor, then look for Overscanning.

The extra ~70 mm per side is very close to 10% of your 700 mm bed width, so if Overscanning is enabled at 10%, that may explain what you’re seeing.

That sounds like it could very well be the culprit.

I’m new to LightBurn, do I need to do anything special to reveal that field in the Cut Settings Editor?

It doesn’t show up for me. (I’m not in Beginner Mode)

Ruida controllers handle overscanning internally, at least for 0° and 90° scan angles, so that setting won’t appear.

The Preview shows simulated overscan distances for Ruida controllers, so ensure the various parameters match what the controller is using:

I’d be unsurprised to learn the Preview simulation does not exactly match reality across all possible Ruida controllers & their firmware versions, even with identical speed & acceleration parameters.

Thanks for mentioning that! I went through that process of confirming parameters matched with the manufacture’s technical support. They were able to confirm it was configured correctly.

Agreed. I wouldn’t expect the preview to be spot on with the real world, but what doesn’t make sense is that jobs sent through RDWorks behave almost exactly as expected, with only those sent through LightBurn requiring those additional ~70mm of extend space.

Hey @jds580s

Yep, @ednisley is right of course.

I rushed that reply and suggested the wrong setting.

Overscanning isn’t a user setting for Ruida devices in LightBurn, so please ignore that part. My mistake, I had my setup in Core, and should of double checked on a Ruida profile. :face_with_peeking_eye:

The RDWorks comparison is still a useful clue here: if RDWorks only needs about the expected run-up distance, but LightBurn needs roughly 70 mm more, then this looks like something specific to how LightBurn is generating or calculating the Ruida scan extents for that job.

Maybe he should look at his acceleration values and see what it’s doing?

:grinning_cat:

Here are all the important settings from LightBurn

If anything stands out as a potential culprit, I would be grateful for any nudges in the right direction.
Thanks!

Hi @jds580s

Thanks for these.

Nothing obvious jumps out from the machine settings.

An X-axis engrave acceleration of 40,000 mm/s² seems reasonable for the numbers you’re calculating, and it lines up fairly well with the RDWorks result needing about 66 mm of extended space at 2000 mm/s.

I’d be interested in comparing the actual RDWorks layer/job settings with the LightBurn file, especially scan direction, bidirectional/one-way scanning, line interval, speed units, and any scan margin/expand settings.

Did you do a read from controller for your emulation in Lightburn? The emulation would run slower than it could.

The numbers in your settings are different than the numbers in your controller. Didn’t think Lightburn modified these.

The preview shows the acceleration values as different.

So I’m curious.

I ran this on an on-line acceleration calculator and you can see it shows about 50mm to get up to speed with that acceleration value.

Where did you get 66mm?

The real question is how did you read the overscan distance with no scaling in the preview? :man_shrugging:

:grinning_cat:

Here are the engrave settings from LightBurn

And the Advanced tab

Compared to the Layer Parameters from RDWorks

If it’s useful I output RD files from both LightBurn and RDWorks both set to the maximum width that will successfully engrave at 2000mm/s.
LightBurn - Extend Space Test 2000mmps.rd (16.4 KB)

RDWorks - Extend Space Test 2000mmps.rd (16.1 KB)

Yes, I sure did. I found that odd since the controller shows 40,000 but when I do the “Read From Controller” it comes back as 37,000.
I figured since the two numbers are relatively close, and the one that seems off only impacts the simulation/preview, I should just leave it as-is.

Just it not working like expected is an issue, I’d think. Even though there isn’t much of difference in preview, it just doesn’t seem right, if you know what I mean.

I’m not saying to change the controller settings, just that it should read it. My accerlation is close to yours, maybe even greater. I think last change I made was to 45,000mm/s^2. Yes, I wouldn’t change the controllers values, but I still question why it doesn’t read properly.

:grinning_cat: