SOLVED Spoted a little bug on Z prob I think



  • Hi,

    when I home Z and the blTouch senor is allready triggered.
    I get the message that the sensor is allready triggered and no z movement.
    This is the expected behaviour, I hope.

    What I think is a bug is that the Z change state to homed.
    I think It should remain unhomed.

    I use RFF 3.1.1, a Duet 3 and a blTouch.
    And here is my homez.g

    ;Clear bed transformation
    N561
    
    ;Goto prob position
    G91
    G1 H2 Z5 F6000
    G90
    G1 X150 Y70 F6000
    G91
    
    ;Reset sensor
    M280 P0 S160
    
    ;Rough prob
    M402 ; Retract prob
    M401 ; Deploy prob
    G1 H1 Z-305 F6000
    M402 ; Retract prob
    
    ;Down 5mm
    G1 H2 Z5 F6000
    
    ;Fine prob
    M402 	; Retract prob
    M401 	; Deploy prob
    G30 	; Prob
    M402 	; Retract prob
    

  • administrators

    I agree, it should remain not homed. I will test this.


  • administrators

    It's not a bug, it's because you are using the Z probe as an endstop switch in this line:

    G1 H1 Z-305 F6000

    That will mark Z as homed.

    You should use a G30 command for that line too. You can use M558 to set the probing speed (F parameter) to a higher value before the first G30 command, and restore it to the usual value for the second.



  • @dc42 haha great I did as you said and by the way removed all those unnecessay M401 and M402.
    Now it remains not homed.

    Thank you.



  • N561
    

    Also I think your code N561 is wrong.

    I think it should be M561: Set Identity Transform



  • @CaLviNx Thanks I didn't see this.
    By the way it explain some weird behaviour I had in the past 😛


Log in to reply