Hello to the community.
I found a problem using the UCCNC script, which creates the appropriate gcode (file name …UCCNC file name).
I’m attaching the original Lightburn code…
G00 G17 G40 G21 G54
G90
; Cut @ 5000 mm/min, 10% power
M8
M5
G0 X-288.333Y-595.74
; Layer SCORE
M3
G1 X-321.451Y-596.682
G1 X-321.439Y-596.833
G1 Y-598.682
; Cut @ 500 mm/min, 45% power
M8
M5
G0 X-305.973Y-612.936
; Layer CUT
M3
G1 X-305.743Y-612.852S114.8F500
G1 X-305.504Y-612.791
Now, to explain, I’m attaching the code snippet reworked from the script…
G00 G17 G40 G21 G54
G90
( Cut @ 5000 mm/min, 10% power )
M8
M5
G0 X-288.333Y-595.74
( Layer SCORE )
M4
M10 Q25.5
G1 X-288.643Y-595.667F5000
G1 X-288.961Y-595.628
G1 Y-598.682
( Cut @ 500 mm/min, 45% power )
M8
M11
G0 X-305.973Y-612.936
( Layer CUT )
M10 Q25.5 …this line is giving me problems…
M10 Q114.8
G1 X-305.743Y-612.852F500
G1 X-305.504Y-612.791
The next job doesn’t start immediately with 45% power…
Is there a solution… or correct version of the application?
Thanks, I hope that’s clear.
Axiom Precision CNC, UK-based “stoneycnc”.
AXBBE controller and UCCNC cam.
In Lightburn, it’s configured as GRBL M3.
I created the job in Lightburn and exported it to gcode.
Now I’m loading it into UCCNC using the “lightburn” script, which creates the *.*uccnc.gc file.
I’ve indicated the problem in the file excerpts…
You didn’t specify which LightBurn version you are using. Newer versions include the Custom Gcode device type. This allows you to select UCCNC as the GCode Flavor:
Today I switched to version 2 out of desperation.
I created a custom Gcode using UCCNC (I was hoping for something new).
I was previously using Lightburn version 1.7.
In UCCNC, M3 rotates forward_CW, M4 rotates reverse_CCW.
“S” is the variable Power value in both M3 and M4.
With the Laser, I have to insert M10 with the M10Q{power} parameter instead of “S”… M11 turns off.
This is impossible to do in custom Gcode.
I have to load the Gcode created in Lightburn into UCCNC using the UCCNC plugin “lightburn loader” found online, to get a working file.
But the file generated by the plugin has this error.
After my experience with Lightburn version 2.03, I reverted to the original 1.7.03. The reason is simply for my own peace of mind.
The suggestion from Nicolas sounds promising!
Please let us know if this allows LightBurn to generate suitable GCode directly without you having to use the plugin.
If you can send us a link to where you found this script, it could help figure out what GCode flavor and options this plugin expects.
(So far, I found this thread, where other users reported similar issues.)
When I got home, I loaded the profile into Lightburn 1.7.03, opened the project, and generated the attached G-code.
I fed it to UCCNC with the OPT T8 laser…the result was OK!!! without using the plugin.
Description…
It starts from zero and positions itself with a slight hint of the laser being active…you wait a bit (maybe too long, but that’s okay) and then it starts working without a hitch…I repeat for this job.
Once finished, it stays in place…that’s a shame, I’d like it to return to zero.
Thanks, now I’ll put it under pressure by doing some TESTS…I’ll keep you posted.
Maybe I should go back to version 2 of Lightburn?
Is the laser is slightly on while it is moving at the very start?
Perhaps try changing the Custom GCode ‘Rapid Move’
from:
M11
G0 [X]{x}[Y]{y}[Z]{z}[A]{rot}
to this:
M10 Q0
G0 [X]{x}[Y]{y}[Z]{z}[A]{rot}
or this:
G0 [X]{x}[Y]{y}[Z]{z}[A]{rot}M10 Q0
And I notice your previous code used M4 so you could also try changing ‘Tool On’ from M3 to M4
You may need to change the ‘Start from’ to ‘Absolute Coords’ if that is what you were using before? And check your settings for ‘Return to Finish Position’.
Updated to version 2.
Created the UCCNC profile by loading UCCNC.lbdev.
Then ran the lightburn test.
Here are the results…
Starting point?? Links between texts…
Vertical lines for high speed?