fbpx
YR-CNC

My GRBL Firmware settings



I have had quite a few questions around firmware settings. Here are the settings that is working 100% for me. I have only one bug, and that is the hardware limits are not enabled. I might miss something, but it seems like homing/software/hardware limits have some issue. If you have any ideas, let me know. Other than this, all works very well.

I will update this post from time to time, if I change anything.

Here you go:

Setting Setting Description Notes
$0=10 $0 Step pulse time [us] Default
$1=25 $1 Step idle delay [ms] Default
$2=0 $2 Step port invert [mask]
$3=101 $3 Direction port invert [mask]
$4=1 $4 Step enable invert
$5=1 $5 Limit pins invert This is dependant on normally open or closed switches
$6=1 $6 Probe pin invert
$10=1 $10 Status report [mask]
$11=0.010 $11 Junction deviation [mm] Default
$12=0.002 $12 Arc tolerance [mm] Default
$13=0 $13 Report inches
$20=1 $20 Soft limits
$21=0 $21 Hard limits Don’t enable if you don’t have limit switches
$22=1 $22 Homing cycle Don’t enable if you don’t have limit switches
$23=11 $23 Homing direction invert [mask]
$24=25.000 $24 Homing feed [mm/min]
$25=250.000 $25 Homing seek [mm/min]
$26=20 $26 Homing debounce [ms]
$27=2.000 $27 Homing pull-off [mm]
$30=12000 $30 Max spindle speed [RPM] Dependant on your spindle
$31=0 $31 Min spindle speed [RPM] Dependant on your spindle
$32=0 $32 Laser mode enable
$100=802.000 $100 X steps/mm Stepper and driver specific (Micro stepping)
$101=802.000 $101 Y steps/mm Stepper and driver specific (Micro stepping)
$102=802.000 $102 Z steps/mm Stepper and driver specific (Micro stepping)
$110=1500.000 $110 X max rate [mm/min] Stepper and driver specific (Micro stepping)
$111=1500.000 $111 Y max rate [mm/min] Stepper and driver specific (Micro stepping)
$112=800.000 $112 Z max rate [mm/min] Stepper and driver specific (Micro stepping)
$120=100.000 $120 X acceleration [mm/sec^2] Stepper and driver specific (Micro stepping)
$121=100.000 $121 Y acceleration [mm/sec^2] Stepper and driver specific (Micro stepping)
$122=100.000 $122 Z acceleration [mm/sec^2] Stepper and driver specific (Micro stepping)
$130=340.000 $130 X max travel [mm] Your CNC Specific
$131=310.000 $131 Y max travel [mm] Your CNC Specific
$132=130.000 $132 Z max travel [mm] Your CNC Specific

Archives