Go to file
Sonny Jeon a1397f61c4 Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix.
- Maximum velocity for each axis is now configurable in settings. All
rapids/seek move at these maximums. All feed rates(including rapids)
may be limited and scaled down so that no axis does not exceed their
limits.

- Moved around auto-cycle start. May change later, but mainly to ensure
the planner buffer is completely full before cycle starting a streaming
program. Otherwise it should auto-start when there is a break in the
serial stream.

- Reverted old block->max_entry_speed_sqr calculations. Feedrate
overrides not close to ready at all.

- Fixed intermittent slow trailing steps for some triangle velocity
profile moves. The acceleration tick counter updating was corrected to
be exact for that particular transition. Should be ok for normal
trapezoidal profiles.

- Fixed the Timer0 disable after a step pulse falling edge. Thanks
@blinkenlight!
2012-12-16 16:23:24 -07:00
doc No changes. Github commit bug. 2012-06-27 07:06:24 -06:00
script No changes. Github commit bug. 2012-06-27 07:06:24 -06:00
.gitignore Acceleration independence installed. Initial re-work of planner for feedrate overrides. 2012-12-14 08:27:02 -07:00
config.h Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
coolant_control.c Minor prescalar optimization. Changed up some defines. 2012-09-21 17:55:02 -06:00
coolant_control.h Added coolant control (M7*, M8, M9). Mist control can be enabled via config.h. 2012-09-21 11:14:13 -06:00
COPYING G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
defaults.h Planner execution time halved and bug fixes. Increased step rate limit to 30kHz. 2012-12-10 18:50:18 -07:00
eeprom.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
eeprom.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
gcode.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
gcode.h Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
limits.c Acceleration independence installed. Initial re-work of planner for feedrate overrides. 2012-12-14 08:27:02 -07:00
limits.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
main.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
Makefile G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
motion_control.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
motion_control.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
nuts_bolts.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
nuts_bolts.h New stepper algorithm. Optimized planner. 2012-12-08 15:00:58 -07:00
planner.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
planner.h Acceleration independence installed. Initial re-work of planner for feedrate overrides. 2012-12-14 08:27:02 -07:00
print.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
print.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
protocol.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
protocol.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
README.md Acceleration independence installed. Initial re-work of planner for feedrate overrides. 2012-12-14 08:27:02 -07:00
report.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
report.h Added Grbl state in status report. Removed switch support. 2012-11-15 21:53:11 -07:00
serial.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
serial.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
settings.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
settings.h Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
spindle_control.c G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
spindle_control.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00
stepper.c Max velocity axes independence installed. Fixed intermittent slow trailing steps. Timer0 disable fix. 2012-12-16 16:23:24 -07:00
stepper.h G28/G30 post move bug fix. Altered file permissions. 2012-11-25 22:02:33 -07:00

#Grbl - An embedded g-code interpreter and motion-controller for the Arduino/AVR328 microcontroller

Grbl is a no-compromise, high performance, low cost alternative to parallel-port-based motion control for CNC milling. It will run on a vanilla Arduino (Duemillanove/Uno) as long as it sports an Atmega 328.

The controller is written in highly optimized C utilizing every clever feature of the AVR-chips to achieve precise timing and asynchronous operation. It is able to m aintain more than 30kHz of stable, jitter free control pulses.

It accepts standards-compliant G-code and has been tested with the output of several CAM tools with no problems. Arcs, circles and helical motion are fully supported, as well as, other basic functional g-code commands. Functions and variables are not currently supported, but may be included in future releases in a form of a pre-processor.

Grbl includes full acceleration management with look ahead. That means the controller will look up to 18 motions into the future and plan its velocities ahead to deliver smooth acceleration and jerk-free cornering.

##Changelog for v0.9 from v0.8

  • ALPHA status: Under heavy development.
  • New stepper algorithm: Based on the Pramod Ranade inverse time algorithm, but modified to ensure steps are executed exactly. This algorithm performs a constant timer tick and has a hard limit of 30kHz maximum step frequency. It is also highly tuneable and should be very easy to port to other microcontroller architectures.
  • Planner optimizations: Multiple changes to increase planner execution speed and removed redundant variables.
  • Acceleration independence: Each axes may be defined with different acceleration parameters and Grbl will automagically calculate the maximum acceleration through a path depending on the direction traveled. This is very useful for machine that have very different axes properties, like the ShapeOko z-axis.
  • Feedrate overrides: In the works, but planner has begun to be re-factored for this feature.

The project was initially inspired by the Arduino GCode Interpreter by Mike Ellery