Odd problem with files saved onto SDCard for offline control

I’m having a problem exporting Gcode files for my Grbl controller 1.1f software. The LCD screen on the GRBL controller just goes blank when trying to send a file created with Lightburn.

If I edit the file in notepad.exe on my windows 10 computer and save it back out without changing it the file then works correctly offline from my SDcard. Could the line terminators be the problem, is there a setting in Lightburn to use CRLF?

I didn’t think Notepad on W10 would change the encoding on save. Can you take a full screenshot of Notepad open with a gcode file loaded prior to saving?

I’ve never seen anything like this.

This is more likely going to be an issue with the display controller than GRBL. What model of display controller and also GRBL controller do you have?

I use beyond compare in my job often, I believe it shows the problem.

Procedure to create the problem, create a simple circle and square engraving which I stored in a lightburn123.nc file, I create a file testlb.nc in notepad++ and cut and paste the contents of the created file into my new file.

Both files are sent and the second file works.

The LB file looks to beyond compare to be a UNIX FILE but with identical contents except for line terminators.

I’ll have to upload pictures and test files later.

My controller came with my CNC3018 kit and has a little controller with LCD from Amazon. It works great with LB via USB, and great with my files if I reformat the line endings.

I would like Lightburn running on Windows to create windows line endings please!

Here is the Amazon item I started with, I’ve massively updated this and changed the machine a lot.

2 in 1 5500mW Engraver CNC 3018 Pro Engraving Machine, GRBLControl PCB PVC Wood Router CNC 3 Axis Milling Machine with Offline Controller and ER11 and 5mm Extension Rod Amazon.com

If you look at the line endings, you’ll see the line terminators are different.

Also, if you look just above the edit window the file type shows Unix and Windows

I’d suggest seeing if there’s an update available for the offline controller.

That’s a good idea, I’m not sure it has any model numbers, it works good I can write a program to do files into to add DOS line terminators and just deal with it. It would be nice if LB just used the newline character for the line terminator for windows.

I have on of these but have not used it much . Here is an interesting link where it has been re written /modded to better control . I will soon get this working .

1 Like

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