Please or Register to create posts and topics.

Errors using Inkscape and CNCJS

I've got my new controller installed I have managed to get one successful cut through a whole pattern but generally it seems to error out at varying points in the process.

Used both my mac and my windows computer and about 4 different usb cables of various lengths.

I thought maybe it was Inkscape so I switched over to CNCJS and still running into the issue.

CNCJS seem to be indicating a error but I'm not sure how to decode that down to something actionable.


Uploaded files:
  • Screen-Shot-2018-01-28-at-1.01.50-PM.png

Ok I see what is going on here. You can check why the end stops are triggering. See below: use "?" in the command field in cncjs to read the status.

It seems to me that the end stops are playing up. Someone had noise on the signal wires so adding a small capacitor (100nF) on the mechanical switches (paralell) should the trick. Some k40 do have hall effect sensors and they don't have that issue.

To get around it so can switch of the limits via $20 (soft) and $21 (hard limits). Let me know if that fixed the issue.

$$ (view Grbl settings)
$# (view # parameters)
$G (view parser state)
$I (view build info)
$N (view startup blocks)
$x=value (save Grbl setting)
$Nx=line (save startup block)
$C (check gcode mode)
$X (kill alarm lock)
$H (run homing cycle)
~ (cycle start)
! (feed hold)
? (current status)
ctrl-x (reset Grbl)
$20=1 (Soft limits enable, boolean)
$21=0 (Hard limits enable, boolean)
Cheers, Paul awesome.tech

Also interesting to know if you always had this issue or just popped up. It might be introduced electrical noise from rerouting wires or added items (light source).

Cheers, Paul awesome.tech

I'll give that a try.

It isn't something I ran into before. It's tough to compare current to before as I replaced the tube, power supply and controller in the K40 at the same time. I don't have any additional pieces added, just the original things on the power supply.

Ok, it might be the wiring. Try to bundle the wiring nicely together into a wiring harness with tie rips. Also check the screw terminals, wire can come loose or have bad connections. Worst case you can add a 100nF capacitor on the switches to filter the interference noise.

Pls can you post some pictures so we get a better view on the wiring, it might be something obvious that you oversee. Happens to me all the time 🙂

Cheers, Paul awesome.tech

I finally got back in the garage and messed with it. Retightened the wires going into the power supply and redid my ground of the machine in general and was able to cut and do and engrave. Woohoo!


Fabulous boogabee. Also make sure you download the latest versions. Dave Gale has been so friendly to remove some small bugs!

Cheers, Paul awesome.tech

Forum Registration