Hi, is it possible to change functionality of pause button? I would like this: after click pause spindle goes stop and Z+ to retract height. After second click: spindle goes start and Z return to working position. And by the way...any plans to change tool gcode command...? Regards, Grzegorz.
Grbl's "pause" is a feedhold only. See Grbl v1.1 Commands · gnea/grbl Wiki The Grbl Wiki is a must-read to understand Grbl For a more advanced setup, use the Safety Door feature: Fitting an enclore like Enclosures Kits - OpenBuilds Part Store and a Door switch like docs:blackbox:connect-door-sensor [OpenBuilds Documentation] to the enclosure, allows the use of retracts: grbl/config.h at master · gnea/grbl - when you open the door, Grbl stops motion, retracts spindle, and stops spindle if its wired to the BlackBox.
Ok, but we have macros In macro is it possible? Pause Z+ Stop spindle. And second click: Start spindle Z- (to working height) Continue program.
No, Grbl does not give you ability to send commands to it while in feedhold (reread the links above please. Commands are only accepted in JOG to IDLE or DOOR states, not in HOLD). As powerful as macros can be, they cannot change the fundamental ways in which Grbl works.