CNC works with jog Controller but not with Gcode

Hi

I built a CNC machine usisng an Arduino Uno and GRBL. I got to the point where all axis are moving fine if I open Universal Gcode sender and move the axis using the jog controler. So I opened a Gcode file to test the machine and it is not moving. I get a buzzing sound like the motors are trying to move, but they dont.

What is the feed speeds in the Gcode file? Look for the Fxxx.xx. Those are the commands that set feed rates. Maybe too fast for your setup?

What are the units set to in UGS? In the Gcode file?

Have you tried entering Gcode from the UGS command line?

Post the first few lines of the file.

Hi

every thing is in mm

here is the code, as you sugested I just changed the feed rate from 400 to 100, but had the same problem

%
(Header)
(Generated by gcodetools from Inkscape.)
(Using default header. To add your own header create file "header" in the output dir.)
M3
(Header end.)
G21 (All units in mm)

(Start cutting path id: path1380)
(Change tool to Default tool)

G00 Z5.000000
G00 X16.722732 Y84.198216

G01 Z-0.125000 F100.0(Penetrate)
G03 X13.357377 Y84.120824 Z-0.125000 I-0.475114 J-52.549134 F100.000000
G03 X10.321573 Y83.820978 Z-0.125000 I1.932445 J-35.083152
G01 X8.183202 Y68.319081 Z-0.125000
G03 X8.891386 Y60.519000 Z-0.125000 I17.191917 J-2.371303
G03 X12.459943 Y54.421222 Z-0.125000 I15.996065 J5.268169
G03 X3.643711 Y45.849119 Z-0.125000 I5.238241 J-14.207132
G03 X0.165086 Y26.090653 Z-0.125000 I45.291914 J-18.159429
G03 X8.359845 Y9.397099 Z-0.125000 I22.610790 J0.741338

I also copied the first 2 lines in the console and they worked

I just tried something else, I deleted the first line of the code (G00 Z5.0000) and without that line the code works just fine. So it looks like there is something wrong with my z axis

Hi, I figured out. It was in fact a problem with the feed speed, but not on the gecode, it was the max feed rate on grbl configuration, I changed $4 and $5 and now it works