Tweaks and bug fixes. Increase to 3 startup blocks. Remove purge/added unlock command
- Increased the number of startup blocks to 3 for no good reason other than it doesn't increase the flash size. - Removed the purge buffer command and replaced with an disable homing lock command. - Homing now blocks all g-code commands (not system commands) until the homing cycle has been performed or the disable homing lock is sent. Homing is required upon startup or if Grbl loses it position. This is for safety reasons. - Cleaned up some of the Grbl states and re-organized it to be little more cohesive. - Cleaned up the feedback and status messages to not use so much flash space, as it's a premium now. - Check g-code and dry run switches how are mutually exclusive and can't be enabled when the other is. And automatically resets Grbl when disabled. - Some bug fixes and other minor tweaks.
This commit is contained in:
@ -75,9 +75,8 @@
|
||||
#define STATE_HOLD 3 // Executing feed hold
|
||||
#define STATE_HOMING 4 // Performing homing cycle
|
||||
#define STATE_JOG 5 // Jogging mode is unique like homing.
|
||||
#define STATE_ALARM 6 // In alarm state. Locks out all but reset
|
||||
#define STATE_LOST 7 // Used to message position may be lost upon startup or event
|
||||
#define STATE_LIMIT 8 // Used to message hard limit triggered.
|
||||
#define STATE_ALARM 6 // In alarm state. Locks out all g-code processes and messages position lost
|
||||
#define STATE_LIMIT 7 // Used to message hard limit triggered.
|
||||
|
||||
// Define global system variables
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user