Trying to do a two pass z-probe homing. "Probe already triggered"?



  • Hey there!

    While my printer is working just fantastic,
    I found that the G30 Z-probe homing command can take ages to home,
    especially after a print when the bed is far away from the nozzle.

    So I tried to write a two pass homing script for the z-axis,
    where I first do a quick first pass with G1 S1 Z-160 F600, lift the nozzle a bit
    and then do the G30 pass. However, even though I lifted the nozzle 5, or even 10 millimeters,
    it always tells me that the "Z probe is already triggered at start of probing move".
    It's also interesting that the title of the error is "G28 Z" instead of "G30".

    Here's my complete homez.g script:

    ; homez.g
    ; called to home the Z axis
    ;
    G91 			; relative mode
    G1 Z4 F200 		; raise head 4mm to ensure it is above the Z probe trigger height
    G90 			; back to absolute mode
    G1 X100 Y100 F6000 	; put head over the centre of the bed, or wherever you want to probe
    G1 Z-160 S1 F600	; do quick first homing pass
    G1 Z10 F600		; lift up sensor a bit for second pass			
    G30 			; lower head, stop when probe triggered and set Z to trigger height
    
    G1 Z5 F600              ; lift Z relative to current position
    
    


  • Hm, for some reason it seems to work now, even though I didn't change anything.
    I feel like perhaps the DWCs notification system is a bit bugged sometimes,
    but I keep you updated in case it comes up again


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.