Now allows some $-commands while critical events are active or in sleep mode.

Added work envelope data to global sys struct, used by soft limits and jog limit handling.
This commit is contained in:
Terje Io
2023-04-29 15:53:46 +02:00
parent 36035cf72b
commit c652eee852
10 changed files with 206 additions and 120 deletions
+7 -2
View File
@@ -929,8 +929,13 @@ status_code_t mc_homing_cycle (axes_signals_t cycle)
? Status_LimitsEngaged
: Status_OK;
if(homed_status == Status_OK && grbl.on_homing_completed)
grbl.on_homing_completed();
if(homed_status == Status_OK) {
limits_set_work_envelope();
if(grbl.on_homing_completed)
grbl.on_homing_completed();
}
return homed_status;
}