fra589 / grbl-Mega-5X

5/6 Axis version of Grbl, the open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/fra589/grbl-Mega-5X/wiki
Other
341 stars 159 forks source link

does not display the home status during the home loop #358

Closed shura-2 closed 7 months ago

shura-2 commented 7 months ago

until the home ($H) loop is executed, the controller does not accept the request (?), but resending the command ($H) successfully fills the buffer

fra589 commented 7 months ago

Hi @shura-2,

This is the normal behavior... Since the homing cycle ask extreme speed cpu reactions, the algorithm have no time to run the protocol_execute_realtime() function. This is this function which run the '?' status report. So, the status report will not be executed during the homing cycle. The other GCode commands which are not immediate commands are put on hold in the input buffer. This is why, if you send $H, it will be executed at the end of the current cycle.

@++; Gauthier.