df5bb70b25
- Thank you statement added for Alden Hart of Synthetos. - Hard limits option added, which also works with homing by pulling off the switches to help prevent unintended triggering. Hard limits use a interrupt to sense a falling edge pin change and immediately go into alarm mode, which stops everything and forces the user to issue a reset (Ctrl-x) or reboot. - Auto cycle start now a configuration option. - Alarm mode: A new method to kill all Grbl processes in the event of something catastrophic or potentially catastropic. Just works with hard limits for now, but will be expanded to include g-code errors (most likely) and other events. - Updated status reports to be configurable in inches or mm mode. Much more to do here, but this is the first step. - New settings: auto cycle start, hard limit enable, homing direction mask (which works the same as the stepper mask), homing pulloff distance (or distance traveled from homed machine zero to prevent accidental limit trip). - Minor memory liberation and calculation speed ups. |
||
---|---|---|
doc | ||
script | ||
.gitignore | ||
config.h | ||
coolant_control.c | ||
coolant_control.h | ||
COPYING | ||
eeprom.c | ||
eeprom.h | ||
gcode.c | ||
gcode.h | ||
limits.c | ||
limits.h | ||
main.c | ||
Makefile | ||
motion_control.c | ||
motion_control.h | ||
nuts_bolts.c | ||
nuts_bolts.h | ||
planner.c | ||
planner.h | ||
print.c | ||
print.h | ||
protocol.c | ||
protocol.h | ||
readme.textile | ||
serial.c | ||
serial.h | ||
settings.c | ||
settings.h | ||
spindle_control.c | ||
spindle_control.h | ||
stepper.c | ||
stepper.h |
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_