Carbide Create > CNCJS Program does not run!

Hi all,

First program I want to run in CNCJS was a levelling / surfacing program…
Original .nc file was created in Carbide Create Pro 472. You can see the original Carbide Create file and gcode file here.

First few lines are as follows -

(Design File: /Users/michaelnewham/Google Drive (1)/1 FabLab_&_Hacker_Resources/1. Equipment/2. CNC_Machine - Shapoko, Files, Etc./Gcode Cut Files/Wasteboard_Levelling.c2d)
(stockMin:0.00mm, 0.00mm, -4.00mm)
(stockMax:804.00mm, 787.00mm, 0.00mm)
(STOCK/BLOCK,804.00, 787.00, 4.00,0.00, 0.00, 4.00)
G90
G21
(Move to safe Z to avoid workholding)
G53G0Z-5.000
(Wasteboard_Levelling)
M05
(TOOL/MILL,20.00, 0.00, 0.00, 0.00)
M6T101
M03S18000
(PREPOSITION FOR RAPID PLUNGE)
G0X390.00Y390.00
Z5.00
G1Z-0.64F50.0
Y397.00F2286.0
X414.00
Y390.00
X390.00
X380.00Y380.00
Y407.00
X424.00
Y380.00
X380.00
X370.00Y370.00

CNCJS is set-up, homing was done, work position was zeroed - then I pressed play on CNCJS. You can see from the pic below there was no response in the console. (I can manually, input code into the console and it works fine. I can start spindle remotely etc…)

Not too sure what I have to do as the program does not run. Is there another button to press? I did try ‘Cycle Start’ but nothing there either…
Files tried were .nc and the .gcode copy / equivalent. I had the files uploaded from the ‘watch folder’ sitting on the Raspberry Pi which CNCJS is installed on.

Any ideas to get this working?

Cheers, Michael

Hi Michael,

I ran your files on my CNC (using CNCJS) and they did not work either. However, when I opened the Create file and saved the GCode again, it worked. Comparing the two .nc files (one that worked and one that didn’t work) the GCode looked identical…? Try saving the GCode again (.nc) from your Create file and let us know if that works.

I believe something in the background of the files didn’t work when you generated them. Comparing the file you submitted (left below) to mine (right below), I noticed in the file properties that attributes were not assigned for your file, whereas for mine they were (if I’m interpreting the attributes section of the file correctly). I am also using CC 472 for the record.

I attached the GCode that worked below, just remove the .zip at the end.
Wasteboard_Levelling_failtest.nc.zip (12.9 KB)

Regards,
Kyle

3 Likes

That first line comment has a lot going on. Without testing (on phone), I’d say that’s the issue. Delete it, or, if I’m recalling correctly, throw a semicolon in front of it.

4 Likes

Hi @neilferreri, that was it.

For some reason CNCJS was picking up my file location as some kind of code as highlighted in Visual Studio Code >

Ta, Michael.

3 Likes

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