Improved homing cycle. New settings: homing enable/rates, debounce and step idle lock time.
- Homing cycle will now cycle twice (spec more/less in config) to improve repeatability and accuracy by decreasing overshoot. - New Grbl settings added: Enable/disable homing cycles, homing seek and feed rates, switch debounce delay, and stepper idle lock time. - Please note that these settings may change upon the next push, since there will be more added soon. Grbl *should* not re-write your old settings, just re-write the new ones. So, make sure you keep these written down somewhere in case they get lost from a code bug. - Refactored settings migration to be a little smaller and managable going forward.
This commit is contained in:
8
gcode.c
8
gcode.c
@@ -179,7 +179,13 @@ uint8_t gc_execute_line(char *line)
|
||||
case 19: select_plane(Y_AXIS, Z_AXIS, X_AXIS); break;
|
||||
case 20: gc.inches_mode = true; break;
|
||||
case 21: gc.inches_mode = false; break;
|
||||
case 28: case 30: non_modal_action = NON_MODAL_GO_HOME; break;
|
||||
case 28: case 30:
|
||||
if (bit_istrue(settings.flags,FLAG_BIT_HOMING_ENABLE)) {
|
||||
non_modal_action = NON_MODAL_GO_HOME;
|
||||
} else {
|
||||
FAIL(STATUS_SETTING_DISABLED);
|
||||
}
|
||||
break;
|
||||
case 53: absolute_override = true; break;
|
||||
case 54: case 55: case 56: case 57: case 58: case 59:
|
||||
int_value -= 54; // Compute coordinate system row index (0=G54,1=G55,...)
|
||||
|
Reference in New Issue
Block a user