Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

Stay updated with Endurance newsletter.

I have read and agree with the Endurance privacy policy

An important things you need to know about GRBL parameters, firmware settings

An important things you need to know about GRBL parameters, firmware settings

About GRBL

GRBL is a free, open-source, high-performance software for controlling the motion of machines that move, that make things, or that make things move, and will run on a straight Arduino. If the maker movement was an industry, Grbl would be the industry standard.

Most open-source 3D printers have Grbl in their hearts. It has been adapted for use in hundreds of projects including laser cutters, automatic hand writers, hole drillers, graffiti painters and oddball drawing machines. Due to its performance, simplicity and frugal hardware requirements, Grbl has grown into a little open-source phenomenon.

 

 

An open-source, embedded, high-performance g-code-parser and CNC milling controller is written in optimized C that will run on a straight Arduino https://github.com/gnea/grbl/wiki

Proceed with a fast and secure checkout. Free DHL shipment worldwide. Get your laser in 3-5 days.

 

Very necessary to know about GRBL

  1. It is very important to know that every single machine can operate under one or the other GRBL firmware such as:  GRBL 0.8 or GRBL 0.9, or under GRBL 1.1 (different letters like GRBL 1.1H)
  2. As soon as you uploaded compatible GRBL (or did not upload since it has been uploaded) you need to check about GRBL configuration.

These parameters can be changed and value should be setup according to your machine

Settings and sample values Description
$0=10 Step pulse, microseconds
$1=25 Step idle delay, milliseconds
$2=0 Step port invert, mask
$3=0 Direction port invert, mask
$4=0 Step enable invert, boolean
$5=0 Limit pins invert, boolean
$6=0 Probe pin invert, boolean
$10=1 Status report, mask
$11=0.010 Junction deviation, mm
$12=0.002 Arc tolerance, mm
$13=0 Report inches, boolean
$20=0 Soft limits, boolean
$21=0 Hard limits, boolean
$22=1 Homing cycle, boolean
$23=0 Homing dir invert, mask
$24=25.000 Homing feed, mm/min
$25=500.000 Homing seek, mm/min
$26=250 Homing debounce, milliseconds
$27=1.000 Homing pull-off, mm
$30=1000. Max spindle speed, RPM
$31=0. Min spindle speed, RPM
$32=0 Laser mode, boolean
$100=250.000 X steps/mm
$101=250.000 Y steps/mm
$102=250.000 Z steps/mm
$110=500.000 X Max rate, mm/min
$111=500.000 Y Max rate, mm/min
$112=500.000 Z Max rate, mm/min
$120=10.000 X Acceleration, mm/sec^2
$121=10.000 Y Acceleration, mm/sec^2
$122=10.000 Z Acceleration, mm/sec^2
$130=200.000 X Max travel, mm
$131=200.000 Y Max travel, mm
$132=200.000 Z Max travel, mm

 

How to setup proper stepper motor (SM) parameters?

  1. Let’s check the stepper motor (SM) parameters

that are, the number of steps per rotation. Usually 200 (step angle 1.8°)

  1. We need to know the dividing coefficient of the stepper motor driver. Download the data-sheet to the driver or the controller of the CNC and observe. how it is set. Usually, as 1:8.
  2. Multiply 200 steps by the dividing coefficient of 8 = 1600 steps per cycle.

 

Proceed with a fast and secure checkout. An Endurance “PRO” laser modules. Ultra reliable.

Now for the belt drive:

Let’s measure the tooth gear diameter of the SM

Find the length of the tooth gear (the range it covers during one cycle) L = 3.14 x D (Diameter)

E.g. D = 16 and the L = 3.14 x 16 = 50 mm. It means that the motor shaft covers a range of 50 mm per one cycle.

Dividing 1600 by 50, we get the number of steps per 1 mm = 32. We write it down to config GRBL.

Proceed with a fast and secure checkout. An Ultimate laser box tool for you laser diode.

 

For the screw measure the step of the screw. 

This value shows how far the shaft will travel per one cycle of the SM. Let us assume that the step is 2 mm, it means that the shaft shifts by 2 mm per one cycle. 1600:2 = 800 steps per one cycle.

 

for example  here is  GRBL hex file GRBL 1 1H download package with a setting that can be used on a standard Eleksmaker machine

GRBL 1.1h settings for an Eleksmaker Mana board and engraving machine 20×20 cm

 

Some important parameters you need to know for your Eleksmaker DIY engraving frame.

An important things you need to know about GRBL parameters, firmware settings

Step pulse can be different, depends on your controller and stepper motor.

For example, on high speed (>1000 mm / min) some steps on Arduino can be missing and then I increase step pulse from 3 to 10

 

An important things you need to know about GRBL parameters, firmware settings

 

An important things you need to know about GRBL parameters, firmware settings

X Steps per mm is a calculated parameter. If 80 does not work, then try to make a rectangle 10×10 mm and then see if it matches the actual size or not

X Max rate mm/min is a maximum speed for your unit.

X acceleration mm / min is the acceleration when your carriage is starting to move. Can vary.

X Max travel speed – the maximum travel speed of the carriage.

 

 

How to download and upload GRBL parameters using a LaserGRBL software

An important things you need to know about GRBL parameters, firmware settings

An important things you need to know about GRBL parameters, firmware settings

 

 

invest pin can be used depending on how you want to engrave the image and where do you want the image to start the engraving.

 

IT IS IMPORTANT and crucial to know that if some settings are not properly settled your machine might not work accurately

For example, if your X/Y/Z acceleration is not setup properly then your machine can engrave with black spots. It means that while it is starting the laser will burn harder comparing while it is traveling. In other words, at the first few moments while the laser is accelerating the speed with being less and the laser will burn harder.

 

Also if you do laser cutting or laser engraving your laser mode should be “1”, not “0”.

 

Keep in mind that different programs can work differently even if you have the same GRBL firmware and the same GRBL setup parameters. (That happens rarely but happens).

 

To start your engraving process from home you need to setup G92 X0 Y0 to make sure that your machine knows where to start.

 

Another tricky thing is to setup inversion for your motors. It can happen if you did not plug correctly your stepper motors into driver pins. Then you may use inversion. BUT EVEN IF YOU SETUP IT PROPERLY THE STEPPER MOTOR MIGHT HAVE AN INVERSED PINS and that will bring you to a wrong (mirrored) image engraving.

 

So, if you face a problem with running your machine – we can help you with that by:

  1. Checking your firmware (re-uploading a proper one if needed).
  2. Checking your GRBL parameters (changing if needed).
  3. Running software like LightBurn or LaserGRBL to test if your machine is working fine.

 

We are happy to help you!

You would need a TeamViewer to get started.

 

Let us know about your problem in advance (email to gf@EnduranceRobots.com or use an online chat form):

  1. Send us a picture of your machine.
  2. Send us a picture of your board.
  3. Describe your problem in detail.
  4. Offer the best time for online troubleshooting (1AM-3PM EST time)

 

 

 

 

We support GRBL community!

An important things you need to know about GRBL parameters, firmware settings

 

You can support it too)

 

 

All you need to know about G-code

How to Work with the G-code

 

Our YouTube video footages >>>

G-code examples

G-code examples and images for laser engraving and laser cutting

Endurance lasers free plugin for an Inkscape 

How to use an Endurance plugin for an Inkscape. G-code generator extenstion.

 

 

 

 

 

 

Stay updated with Endurance newsletter.

I have read and agree with the Endurance privacy policy

Endurance lasers LLC

Exploring laser abilities?! Let us know what do you plan to cut or engrave.