Untested! Soft limits, max travel, homing changes, new settings.
- WARNING: Completely untested. Will later when there is time. Settings WILL be overwritten, as there are new settings. - Soft limits installed. Homing must be enabled for soft limits to work correctly. Errors out much like a hard limit, locking out everything and bringing up the alarm mode. Only difference is it forces a feed hold before doing so. Position is not lost. - IMPORTANT: Homing had to be updated so that soft limits work better with less CPU overhead. When homing completes, all axes are assumed to exist in negative space. If your limit switch is other side, the homing cycle with set this axis location to the max travel value, rather than zero. - Update mc_line() to accept an array, rather than individual variables. - Added an mc_auto_cycle_start() function handle this feature. Organization only. -
This commit is contained in:
parent
e3cfa93d97
commit
3c9c516a47
16 changed files with 201 additions and 130 deletions
4
main.c
4
main.c
|
|
@ -3,7 +3,7 @@
|
|||
Part of Grbl
|
||||
|
||||
Copyright (c) 2009-2011 Simen Svale Skogsrud
|
||||
Copyright (c) 2011-2012 Sungeun K. Jeon
|
||||
Copyright (c) 2011-2013 Sungeun K. Jeon
|
||||
|
||||
Grbl is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -106,7 +106,7 @@ int main(void)
|
|||
// When the serial protocol returns, there are no more characters in the serial read buffer to
|
||||
// be processed and executed. This indicates that individual commands are being issued or
|
||||
// streaming is finished. In either case, auto-cycle start, if enabled, any queued moves.
|
||||
if (sys.auto_start) { st_cycle_start(); }
|
||||
mc_auto_cycle_start();
|
||||
|
||||
}
|
||||
return 0; /* never reached */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue