Homing alarm upon no switch. Licensing update.

- Homing cycle failure reports alarm feedback when the homing cycle is
exited via a reset, interrupted by a safety door switch, or does not
find the limit switch.

- Homing cycle bug fix when not finding the limit switch. It would just
idle before, but now will exit with an alarm.

- Licensing update. Corrected licensing according to lawyer
recommendations. Removed references to other Grbl versions.
This commit is contained in:
Sonny Jeon
2015-02-15 17:36:08 -07:00
parent d36d3519ef
commit 8c9fc7943e
37 changed files with 116 additions and 262 deletions

View File

@ -1,6 +1,6 @@
/*
system.h - Header for system level commands and real-time processes
Part of Grbl v0.9
Part of Grbl
Copyright (c) 2014-2015 Sungeun K. Jeon
@ -45,6 +45,7 @@
#define EXEC_ALARM_SOFT_LIMIT bit(2) // bitmask 00000100
#define EXEC_ALARM_ABORT_CYCLE bit(3) // bitmask 00001000
#define EXEC_ALARM_PROBE_FAIL bit(4) // bitmask 00010000
#define EXEC_ALARM_HOMING_FAIL bit(5) // bitmask 00100000
// Define system state bit map. The state variable primarily tracks the individual functions
// of Grbl to manage each without overlapping. It is also used as a messaging flag for