Go to file
Sonny Jeon 065ceceb34 New alarm method. Re(re)organized status messages.
- Installed a new 'alarm' method to centralize motion kills across
alarm or reset events. Right now, this is controlled by system abort
and hard limits. But, in the future, a g-code parser error may call
this too as a safety feature.

- Re(re)organized status messages to just print all errors, regardless
from where it was called. This centralizes them into one place.

- Misc messages method installed for any user feedback that is not a
confirmation or error. Mainly so that there is a place to perform
warnings and such.

- New stuff installed and still made the flash size smaller by saving
flash space from clearing out repeated '\r\n' pgmstrings.

- Fixed a bug where hard limits message would print everytime a system
abort was sent.
2012-10-21 19:18:24 -06: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 merged master 2011-01-31 19:42:56 +01:00
config.h Re-organized status messages to be more coherent and centralized. 2012-10-21 16:55:59 -06: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 No changes. Github commit bug. 2012-06-27 07:06:24 -06:00
eeprom.c formatting 2011-01-31 23:04:39 +01:00
eeprom.h No changes. Github commit bug. 2012-06-27 07:06:24 -06:00
gcode.c Re-organized status messages to be more coherent and centralized. 2012-10-21 16:55:59 -06:00
gcode.h Updated limit/homing routine. Works, but needs more TLC. 2012-09-30 19:57:10 -06:00
limits.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
limits.h Minor updates, improvements, and bug fixes. 2012-10-13 13:11:43 -06:00
main.c Hard limits, homing direction, pull-off limits after homing, status reports in mm or inches, system alarm, and more. 2012-10-16 21:29:45 -06:00
Makefile Added coolant control (M7*, M8, M9). Mist control can be enabled via config.h. 2012-09-21 11:14:13 -06:00
motion_control.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
motion_control.h New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
nuts_bolts.c Updated delay_us() function to accept long integers 2012-10-12 08:27:14 -06:00
nuts_bolts.h Hard limits code minor updates. 2012-10-18 21:29:07 -06:00
planner.c Minor updates, improvements, and bug fixes. 2012-10-13 13:11:43 -06:00
planner.h Limit pin internal pull-resistors enabled. Re-wrote read_double() function. Correctly changed all 'double's to 'float's. 2012-10-08 15:57:58 -06:00
print.c (2x) speed increase in printFloat() function. Decimal places setting added. 2012-10-11 22:43:54 -06:00
print.h Limit pin internal pull-resistors enabled. Re-wrote read_double() function. Correctly changed all 'double's to 'float's. 2012-10-08 15:57:58 -06:00
protocol.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
protocol.h New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
readme.textile Added step pulse delay after direction set (Compile-time option only). Updated read me. 2012-06-26 21:48:42 -06:00
serial.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
serial.h No changes. Github commit bug. 2012-06-27 07:06:24 -06:00
settings.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
settings.h New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
spindle_control.c Added coolant control (M7*, M8, M9). Mist control can be enabled via config.h. 2012-09-21 11:14:13 -06:00
spindle_control.h Added coolant control (M7*, M8, M9). Mist control can be enabled via config.h. 2012-09-21 11:14:13 -06:00
stepper.c New alarm method. Re(re)organized status messages. 2012-10-21 19:18:24 -06:00
stepper.h Minor updates, improvements, and bug fixes. 2012-10-13 13:11:43 -06:00

h1. 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 maintain 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.8 from v0.7:*
  - *ALPHA status: _Under heavy development. Code state may significantly change with each push as new features are integrated._*
  - Major structural overhaul to allow for multi-tasking events and new feature sets
  - New run-time command control: Feed hold (pause), Cycle start (resume), Reset (abort), Status reporting
  - Controlled feed hold with deceleration to ensure no skipped steps and loss of location.
  - After feed hold, cycle accelerations are re-planned and may be resumed.
  - Re-factored g-code parser with robust error-checking.
  - Work coordinate system (G54), offsets(G92), and machine coordinate system support. G10 work coordinate settings support. (Up to 6 work coordinate systems(G54-G59) available as a compile-time option.)
  - Program stop(M0,M1*,M2,M30) initial support. Optional stop to do.
  - System reset re-initializes grbl without resetting the Arduino and retains machine/home position and work coordinates.
  - Restructured planner and stepper modules to become independent and ready for future features.
  - Reduced serial read buffer to 128 characters and increased write buffer to 64 characters.
  - Misc bug fixes and removed deprecated acceleration enabled code.  
  - Planned features: Jog mode, full-featured status reporting, runtime settings such as toggling block delete.
  - Advanced compile-time options: Up to 6 work coordinate systems(G54-G59), XON/XOFF flow control (limited support), direction and step pulse time delay.
  

*Important note for Atmega 168 users:* Going forward, support for Atmega 168 will be dropped due to its limited memory and speed. However, legacy Grbl v0.51 "in the branch called 'v0_51' is still available for use.

_The project was initially inspired by the Arduino GCode Interpreter by Mike Ellery_