Help identifying a difference between RDWorks output and LightBurn output

I’ve been trying to track down the cause of an issue that pops up when I engrave from LightBurn to my OneLaser Hydra 7 Gen 2 which uses a Ruida RDC6442G-LY-1G-GT5-DL(EC) controller.
(feel free to see my earlier post for more context)

I believe I’ve finally tracked down where the issue is coming from, but could use some help identifying what LightBurn setting will help remedy it.

The problem in a nutshell: When I try to engrave from LightBurn I’m only able to access about 80% of the work area.
If I send the same job from RDWorks, it’s able to access 100% of the work area.
(of course minus the necessary extend space)

I output .rd files from both RDWorks and LightBurn to analyze for differences and found a parameter which Lightburn sets equal to 2 but RDWorks sets to 1.

To confirm I wasn’t barking up the wrong tree, I had Claude help me modify the original LightBurn .rd file to set that value to 1 then save out a modified file with recalculated checksum. I used LightBurn to send that modified file to my laser and it worked perfectly.

What I could use a hand with is identifying what setting is responsible for the value which is different between LightBurn and RDWorks.
The setting is located at CA 41
RDWorks writes it as: CA 41 00 01
LightBurn writes it as: CA 41 00 02
I believe the “00” indicates a layer, and the “01” or “02” represents a “type” assigned to that layer, but I don’t have enough context to connect those back to a setting in the LightBurn project.

I tried turning off/on a whole bunch of settings individually then outputting .rd files to see if any toggled that particular setting, but none of my tests did.

Any help would be very appreciated.

Here is the original LightBurn file which doesn’t work on my controller:
LightBurn 610mm 2000mmps Test File Original.rd (16.9 KB)

Here is the modified file with CA 41 set to 01 which will run:
LightBurn 610mm 2000mmps Test File Modified with CA 41 set to 01.rd (16.9 KB)

If you’re new and haven’t been welcomed to the forum, consider yourself welcomed :tada:


With these speeds, I assume your machine is a RF or metal tube?

Please don’t post only RD files, give us the .lbrn2 file so we can look at stuff. I quit reading machine code quite a while back.

I’ve worked with my Ruida and Lightburn since before version 1 and have changed the my worksize as my hardware changed. Never had a problem.

If Lightburn is giving you the error, it must be something in configuration of Lightburn, if it’s the controller issuing the error, then it’s still likely the Lightburn configuration

You can check your controller and see what maximum workarea is. I would assume from what you advised, Lightburn isn’t configured properly.

Since RDWorks operates properly, it would appear to be a Lightburn configuration issue.

Might want to post the .lbrn2 file, you can read the configuration off the Ruida and it will tell you the specified size of work area.

:grinning_cat:

Thank you for those wonderful tips.

Correct, this is an RF CO2 laser

Here is the LightBurn project file:
LightBurn 610mm 2000mmps Project.lbrn2 (2.9 KB)

The error is displayed on the controller touchscreen.
It’s the same error one would see if trying to engrave too close to the edge of the work area without enough room for head acceleration and deceleration / extend space, even when there is more than enough space for the given speed.

My max work area is 700mm x 500mm which matches what’s configured in LightBurn, RDWorks, and on the controller.

I’ve been on multiple support calls with the manufacture where they remotely logged in to, updated firmware on the controller, reset the machine configuration settings to the appropriate defaults for the machine, verified settings in LB & RDW, removed and re-added the laser to LightBurn, uninstalled and reinstalled LightBurn, and tried older version pre-2.0. None of which corrected the behavior.

Here are my LightBurn settings:

Thanks!

Using your values, I compute the overscan is large, over 50mm each side added to the segment length, required area is wider than your work area.

I get about 50mm to speed up and another 50mm to slow down. (50 + 50)mm + 610mm (line segment length) requires 710mm work area, you only have 700mm. :thinking:

If you learn to run preview in Lightburn, enable show transversal moves, it shows the overscan as red. Actually it will show head movement when not lasing. The green lines are 700mm apart. It goes over the edge of the workspace.

These controllers are not dumb, never seen an error that wasn’t true. Doesn’t mean I’ve seen them all. Have some trust in your machines abilities…

Slow it down or make a shorter line… one of the two.


I have my glass tube set for 45,000mm/s^2 for acceleration. Speed is limited by lps response time. the rest is purely academic.

The controller only computes overscan if the angle is a multiple of 90 degrees. If you don’t use one of these, the overscan is your problem.

Hope this helps.

:grinning_cat:

Thanks for catching an omission from my first post.
When the manufacture sent me a replacement controller, it was accidentally locked at a max speed of 500mm/s. So regardless of what speed values I sent to the laser they are getting capped at 500mm/s until they are get back to me with the unlock procedure.

But that’s okay because I have the numbers from the old controller which would go up to 2000mm/s.
As you noted, that does reduce the maximum engravable width to account for the needed overscan, but there is still a large additional gap on both sides where the laser head could travel, but won’t.
That’s only when sending the project from LightBurn, if I send the same size, speed and setting for an engrave from RDWorks it will use the full bed.

Here is a table showing how much extend space the controller is required when sending a job from LightBurn. I got these numbers by testing each rectangle at each size and then slowly increasing it bit by bit until it would cause the controller error. It’s requiring 136mm on each side, more than double what your online acceleration calculator determined.

And looking just at 2000mm/s, here is the same for RDWorks. The maximum width that I can get to successfully run without overscan errors is much closer to the estimate you your online calculator determined.

I’ve been debugging this problem for months. The best lead I’ve had is by creating a rectangle that is around 550mm wide, which should be able to engrave at 2000mm/s with more than enough space on each side for overscan, Then save out the .rd file from LightBurn.
If I run that file on the laser it will fail due to the controller saying there is not enough overscan space.
If I take that same file and change the layer command CA 41 from 00 02 to 00 01 and send that to the laser, it runs perfectly fine at full speed, and width without the overscan error.

I neglected to add one other visual.
Here is the LightBurn preview for each of the tests above. The estimated overscan area in the preview matches what I physically seen when I run the tests.

Are you running this file bidirectional, or uni-directional in RDWorks?

It looks like that is what that 0xCA41 command sets.

Thank you so much for that guidance on CA 41.

All of my LightBurn test files have been set to Bi-directional fill (at the default 0 degree scan angle)
All of my RDWorks test files have been set to Scan Mode: X_swing

I just ran a test after changing RDWorks to Scan Mode: X_unilateralism
Which failed with the extend space error on the controller.
When I checked that .rd file, CA 41 was set to 2

I’m sure I’m missing something, but it seems like those values are inverted between RDWorks and LightBurn (or perhaps my understanding of X_swing vs X_unilateralism is incorrect)

X_swing sets it to 1
X_unilateralism sets it to 2

while LightBurn Bi-directional fill [ON] sets it to 2
and Bi-directional fill [OFF] sets it to 1