My settings for 3018 DIY CNC machine with Woodpecker’s control board and GRBL 0.9j.20150930. Note the feed rate and acceleration on axes.
$$
$0 = 10 (step pulse, usec)
$1 = 25 (step idle delay, msec)
$2 = 0 (step port invert mask:00000000)
$3 = 5 (dir port invert mask:00000101)
$4 = 0 (step enable invert, bool)
$5 = 0 (limit pins invert, bool)
$6 = 0 (probe pin invert, bool)
$10 = 3 (status report mask:00000011)
$11 = 0.010 (junction deviation, mm)
$12 = 0.002 (arc tolerance, mm)
$13 = 0 (report inches, bool)
$20 = 0 (soft limits, bool)
$21 = 0 (hard limits, bool)
$22 = 0 (homing cycle, bool)
$23 = 0 (homing dir invert mask:00000000)
$24 = 25.000 (homing feed, mm/min)
$25 = 400.000 (homing seek, mm/min)
$26 = 250 (homing debounce, msec)
$27 = 1.000 (homing pull-off, mm)
$100 = 800.000 (x, step/mm)
$101 = 800.000 (y, step/mm)
$102 = 800.000 (z, step/mm)
$110 = 2500.000 (x max rate, mm/min)
$111 = 2000.000 (y max rate, mm/min)
$112 = 1500.000 (z max rate, mm/min)
$120 = 45.000 (x accel, mm/sec^2)
$121 = 45.000 (y accel, mm/sec^2)
$122 = 48.000 (z accel, mm/sec^2)
$130 = 300.000 (x max travel, mm)
$131 = 180.000 (y max travel, mm)
$132 = 44.000 (z max travel, mm)
And for 1.1j:
Grbl 1.1f [‘$’ for help]
>>> $$
$0 = 10 (Step pulse time, microseconds)
$1 = 25 (Step idle delay, milliseconds)
$2 = 0 (Step pulse invert, mask)
$3 = 5 (Step direction invert, mask)
$4 = 0 (Invert step enable pin, boolean)
$5 = 0 (Invert limit pins, boolean)
$6 = 0 (Invert probe pin, boolean)
$10 = 3 (Status report options, mask)
$11 = 0.010 (Junction deviation, millimeters)
$12 = 0.002 (Arc tolerance, millimeters)
$13 = 0 (Report in inches, boolean)
$20 = 0 (Soft limits enable, boolean)
$21 = 0 (Hard limits enable, boolean)
$22 = 0 (Homing cycle enable, boolean)
$23 = 0 (Homing direction invert, mask)
$24 = 25.000 (Homing locate feed rate, mm/min)
$25 = 500.000 (Homing search seek rate, mm/min)
$26 = 250 (Homing switch debounce delay, milliseconds)
$27 = 1.000 (Homing switch pull-off distance, millimeters)
$30 = 1000 (Maximum spindle speed, RPM)
$31 = 5 (Minimum spindle speed, RPM)
$32 = 0 (Laser-mode enable, boolean)
$100 = 800.000 (X-axis travel resolution, step/mm)
$101 = 800.000 (Y-axis travel resolution, step/mm)
$102 = 800.000 (Z-axis travel resolution, step/mm)
$110 = 2500.000 (X-axis maximum rate, mm/min)
$111 = 2000.000 (Y-axis maximum rate, mm/min)
$112 = 1500.000 (Z-axis maximum rate, mm/min)
$120 = 45.000 (X-axis acceleration, mm/sec^2)
$121 = 45.000 (Y-axis acceleration, mm/sec^2)
$122 = 48.000 (Z-axis acceleration, mm/sec^2)
$130 = 300.000 (X-axis maximum travel, millimeters)
$131 = 180.000 (Y-axis maximum travel, millimeters)
$132 = 44.000 (Z-axis maximum travel, millimeters)
After some tweaking with axes current settings:
$110 = 3000.000
$110 = 2500.000 (X-axis maximum rate, mm/min)
$111 = 2500.000 (Y-axis maximum rate, mm/min)
$112 = 2000.000 (Z-axis maximum rate, mm/min)
$120 = 80.000 (X-axis acceleration, mm/sec^2)
$121 = 80.000 (Y-axis acceleration, mm/sec^2)
$122 = 100.000 (Z-axis acceleration, mm/sec^2)
#1 by ejs on 2019-01-18 - 08:40
Quote
I would suggest soldering film capacitor directly onto the teminals. I used c.a. 1uF / 100 V. And the power supply may be a problem too. I have swaped it to some second-hand Epson embossed 12V / 4.5 A at the very beginning. The original one did not have enough mass estimation to reliably provide 50 W of output. And the stalling steppers proved it 🙂
#2 by hannes on 2019-01-18 - 00:21
Quote
Jeff, I had the same problem. It’s not the power supply, it’s the spindle. It doesn’t have noise suppression und whenever its on I have noise spikes vom -2V to over 10V on the 5V rail … which of course makes the Controller crash.
To solve it, I soldered 15nF ceramic capacitors between the spindle terminals and the spindle housing. Additionally, you can also add a ceramic cap between the terminals. It’s not strictly necessary for me, but I’ll add one eventually. The exact value of the caps doesn’t matter – use something around 10nF. I would suggest a voltage rating of 50V.
Best of luck.
#3 by Jeff on 2018-12-21 - 00:02
Quote
Hey guys,
My new CNC3018 resets the grbl CNC controller when ever I turn on the spindle.
Suspecting the power brick (24V 5A) wasn’t up for it – I tried a 36V 9.7A supply.
I still have the same problem.
Has anyone else see this?
Any proposed solutions?
#4 by ejs on 2018-12-12 - 13:41
Quote
The most obviuos reason – misalligned rails and screw, end bearing included. It took me a while to true the axes, as the entire construction is a bit … losy.
#5 by Farooq on 2018-12-12 - 13:35
Quote
I set up my machine with your settings..but it can not bear the acceleration rate of what you have written here…it get stuck while moving…and when reaching end point of the step it then again resumes moving….
#6 by ejs on 2018-10-17 - 15:22
Quote
Yes, it likely the same machine.
The $30 parameter has no real meaning unless you have a feedback from the spindle. So it’s more like “100,0%” than the real RPM.
When connecting laser engraver, i’m setting $30 to the theoretical power of the laser, in 1/10th of milliwats.
And in this case, for example for the 2600mW laser diode, commanding “S1300” will be approximately equal to the 50% of power. But you can achieve the same result with “$30=1000” and “S500”, or $30=255 and “S128”.
#7 by YRabbit on 2018-10-17 - 09:03
Quote
Hello,
is your cnc like this? https://nl.aliexpress.com/store/product/CNC3018-ER11-laser-options-diy-cnc-engraving-machine-Pcb-Milling-Machine-wood-router-laser-engraving-GRBL/1823809_32819907842.html
If yes then why $30=1000 instead of 7000 or 10000?
#8 by ejs on 2018-05-16 - 08:43
Quote
There is no such thing as “converting file to gcode”. Foreach item you want to machine, a set of operations must be defined. It’s fairy simple and starightforward with 3D printing – slice the item horizontally into layers and build a toolpath (or gcode) for each one. It’s relativelly easy to create engraving toolpaths. And it’s not so simple for routing or turning.
#9 by Maria on 2018-05-16 - 06:13
Quote
I am having trouble converting files to gcode to upload in GRBL…what software can I use for this?
#10 by ejs on 2018-03-22 - 15:24
Quote
I had troubles with all 3 axis moving. It seems the power brick is not capable of driving all the motors and electronics, so I had random resets. Setting $110 = 2500 did the thick and have no blackouts yet.