NC files not working on controller (solved)

Hi!

I have just purchased a chinese CNC burner and a “offline controller”.

The controller is this: controller

From my PC, I can burn with no problem with LightBurn, but exported .nc files does not work with my controller.

For testing, I have created a single line with LightBurn and LaserGRBL and exported as .nc file: a line from 10,10, lenght 30 horizontal.

The one with LaserGRBL works (in the controller), but not the one with LightBurn.

Here are the .nc content:

The LightBRGL file:

M3 S0
S0
G0X10Y286.95
S66
G1X40F3333
S0
M5 S0

The LightBurn file:

; LightBurn 0.9.23
; GRBL device profile, current position
; Bounds: X-12.5 Y12.5 to X17.5 Y12.5

;USER START SCRIPT
$32=1

;USER START SCRIPT

G00 G17 G40 G21 G54
G91
M4
; Cut @ 130 mm/min, 95% power
M8
G0X-12.5Y12.5
; Layer C00
G1X30S950F130
M9
G1S0
M5
; return to starting pos
G0 X-17.5Y-12.5
M2

Any hint what is wrong?

The offline controllers do not like comments, and they require files with “Windows style” line endings, meaning (carriage return) + (linefeed), not just linefeed. You can use Notepad++ to do both of those things.

We’re planning on adding a switch to allow LightBurn to export for these offline controllers, but haven’t added this yet.

Thank you.

A temporary solution (I have to try it in the real controller) is load/save the file with LaserGBRL, as it removes the comments in the export file I have checked.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.