Axis Configuration
Motor Parameters
Set by DIP switches or driver firmware on your driver board.
Lead Screw Parameters
e.g. 5mm (Tr10×2 double-start), 4mm (M12 ball screw)
Velocity & Acceleration
Used to compute max step frequency and $110–$112.
Start with 50–200 mm/s². Increase until missed steps occur, then back off 20%.
Results — X Axis
Steps / mm
—
steps per mm
Resolution
—
µm per step
Max Step Freq
—
Hz at max feed
Motor RPM @ Max Feed
—
rev/min
GRBL Configuration Output
Paste these commands into your GRBL serial terminal (e.g. Universal G-Code Sender, CoolTerm). Send one line at a time. Confirm with $$ after sending.
; Configure axes and click "Save This Axis" to generate GRBL commands.
Quick Reference — Common Configurations
| Mechanism | Motor | Microstepping | Steps/mm | Resolution |
|---|---|---|---|---|
| 5mm ball screw | 1.8° stepper | 1/16 | 640 | 1.56 µm |
| 5mm ball screw | 1.8° stepper | 1/32 | 1280 | 0.78 µm |
| 4mm ball screw | 1.8° stepper | 1/16 | 800 | 1.25 µm |
| M10 lead screw (2mm pitch) | 1.8° stepper | 1/8 | 800 | 1.25 µm |
| GT2 belt, 20T pulley | 1.8° stepper | 1/16 | 160 | 6.25 µm |
| GT2 belt, 20T pulley | 0.9° stepper | 1/16 | 320 | 3.125 µm |
| Rack M1, 20T pinion | 1.8° stepper | 1/8 | ~127.3 | 7.85 µm |
* GT2 belt: pitch = 2mm × teeth = 2 × 20 = 40mm/rev. Rack: circumference = π × module × teeth.
GRBL Parameter Reference
| Parameter | Description | Units |
|---|---|---|
| $100 – $102 | Steps per mm (X, Y, Z) | steps/mm |
| $103 – $104 | Steps per mm (A, B axes — grbl-Mega) | steps/mm (or deg) |
| $110 – $112 | Max feed rate (X, Y, Z) | mm/min |
| $120 – $122 | Acceleration (X, Y, Z) | mm/s² |
| $130 – $132 | Max travel (X, Y, Z — for homing) | mm |