So I downloaded the Shapeoko Hello World gcode from here: http://docs.carbide3d.com/tutorials/hello-world/
Ran my machine and ended up with this (it drifted off paper eventually):
It began in the upper right corner and drifted towards the left bottom corner. I edited out a few other tries that I did, so ignore the artifacts.
If I use jog commands 10mm forward means 10mm forward. Similarly for other directions. So individually it goes where I want it to go. Except one thing... bCNC has move diagonal buttons. Three of them move the machine in the same direction - which of course shouldn't happen. -X +Y, -X -Y and +X -Y all move the machine in the same direction - which is -X -Y. Moving it to +X +Y works just fine on the other hand.
I am using GRBL 1.1 on one of those cheap Arduino CNC shields from ebay with A4988 stepper drivers with 1/16th stepping. The motors are Nema 23s ran from 24V. I did try flashing GRBL 0.9j as well, but it didn't change anything. And I did try universal gcode sender instead of bCNC as well.
Here are my GRBL settings:
Code: Select all
$0 Step pulse time [us] 10
$1 Step idle delay [ms] 25
$2 Step port invert [mask] 0
$3 Direction port invert [mask] 0
$4 Step enable invert 0
$5 Limit pins invert 0
$6 Probe pin invert 0
$10 Status report [mask] 1
$11 Junction deviation [mm] 0.010
$12 Arc tolerance [mm] 0.002
$13 Report inches 0
$20 Soft limits 0
$21 Hard limits 1
$22 Homing cycle 0
$23 Homing direction invert [mask] 0
$24 Homing feed [mm/min] 25.000
$25 Homing seek [mm/min] 500.000
$26 Homing debounce [ms] 250
$27 Homing pull-off [mm] 1.000
$30 Max spindle speed [RPM] 1000
$31 Min spindle speed [RPM] 0
$32 Laser mode enable 0
$100 X steps/mm 80.100
$101 Y steps/mm 80.100
$102 Z steps/mm 1646.800
$110 X max rate [mm/min] 5000.000
$111 Y max rate [mm/min] 5000.000
$112 Z max rate [mm/min] 300.000
$120 X acceleration [mm/sec2] 100.000
$121 Y acceleration [mm/sec2] 100.000
$122 Z acceleration [mm/sec2] 10.000
$130 X max travel [mm] 750.000
$131 Y max travel [mm] 1000.000
$132 Z max travel [mm] 200.000