Call macro in homez to clear BLtouch fault
-
I want to be able to call a macro in my Homez.g file and then have it wait a second before moving on to the rest of the lines to run the homing to give it time to clear any faults with the BLtouch but cannot get it working. The Alarm_release.g macro works fine on its own just not within the homez.g when there is a fault
; homez.g
; called to home the Z axis
M98 P"/macros/BL_TOUCH/Alarm_release.g" ; Clear any faultsG91
G1 S1 Z10 F6000 ; Lift z so we don't crash
G90
G1 X178 Y176 F6000 ; Move probe to middle of bed
M558 F500 ; Set the probing speed
G30 ; Do a single FAST probe to home Z axis
M558 F50 ; Set slower probing speed
G30 ; Do a single SLOW probe to home Z axis -
I would suggest just putting the servo commands directly into the beginning of the homez.g and using M400 and a G4 dwell command to have it pause for a second before continuing.
-
@Phaedrux said in Call macro in homez to clear BLtouch fault:
M400
Ahh that did it! Thanks for the help.
; homez.g
; called to home the Z axis
M98 P"/macros/BL_TOUCH/Alarm_release.g" ; Clear any faults
M400
G4 P500
G91
G1 S1 Z10 F6000 ; Lift z so we don't crash
G90
G1 X178 Y176 F6000 ; Move probe to middle of bed
M558 F500 ; Set the probing speed
G30 ; Do a single FAST probe to home Z axis
M558 F50 ; Set slower probing speed
G30 ; Do a single SLOW probe to home Z axis