Z-Offset with only a Switch...I must be daft



  • I only use a microswitch for my Z min endstop because my bed is perfectly level...but I am having trouble adjusting it in the config, it doesn't seem to do anything so I'm left with adjusting Z baby stepping every print

    M574 X1 Y2 S0 ; set endstop configuration
    M574 Z1 S1 ; set z endstop configuration
    M558 P0 X0 Y0 Z0 H5 F120 T12000 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
    G31 P600 X-27 Y-5 Z3.6 ; Set Z probe trigger value, offset and trigger height

    I don't have any conflicting items in override.



  • https://duet3d.dozuki.com/Wiki/GCode#Section_M558_Set_Z_probe_type

    The P0 you have in M558 indicates that no Z probe is present.



  • Hi,
    I've been lurking for awhile and felt I needed to join now because I have been scratching my head with the same problem and I wonder if it has anything to do with Repap configurator, under z probe I have switch selected because if not the Z stop endstop is greyed out, I have had it set like this since I bought my Duet Wifi in March but i think it is in only the last two or three weeks that this problem has arisen and like the op I have been baby stepping my way out of trouble each print and the amount was always different, I actually got somewhere tonight after playing with auto bed compensation and getting nowhere I hit the disable button and levelled my bed manually as usual and started a print, a babystep of 0.3mm upwards and the print was going fine, i tried starting the same print again and left the 0.3mm baby step in, interestingly I had to increase to 0.6mm for the print to start, a 3rd print and I had to increase to 0.9mm for the print to start, in reality it was just the original 0.3mm I was babystepping and assume it just a display thing, I restarted my printer from cold and happily only had to babystep the 0.3mm again for my print to start, believe me this is the first time that I have had predictable behaviour at the start of a print for about three weeks, Im sorry for posting a wall of txt and I hope this can help the op out, please dont ask me to start posting loads of lists of g codes because i'm only a beginner really.

    One more piece of info that may help, on Reprap config I have Trigger height at Axis and Trigger height on bed: set at 0.5mm


  • administrators

    I have tested the Endstops page of the online configurator. I did find a bug: if I set the Z probe type to "No Z probe" then I can't set the Z endstop type. But selecting any other type of Z probe allows me to select the Z endstop type.



  • @deckingman said in Z-Offset with only a Switch...I must be daft:

    https://duet3d.dozuki.com/Wiki/GCode#Section_M558_Set_Z_probe_type

    The P0 you have in M558 indicates that no Z probe is present.

    So it should be P4 for a switch? I'll give that a try.

    @mart said in Z-Offset with only a Switch...I must be daft:

    a babystep of 0.3mm upwards and the print was going fine, i tried starting the same print again and left the 0.3mm baby step in, interestingly I had to increase to 0.6mm for the print to start, a 3rd print and I had to increase to 0.9mm for the print to start, in reality it was just the original 0.3mm I was babystepping and assume it just a display thing, I restarted my printer from cold and happily only had to babystep the 0.3mm again for my print to start

    I have this same phenomena. Also baby stepping before the print starts (preheating), does not have an effect, I'm guessing because homing resets the baby step value, but the displayed value remains.



  • @ilovecoffee said in Z-Offset with only a Switch...I must be daft:

    @deckingman said in Z-Offset with only a Switch...I must be daft:

    https://duet3d.dozuki.com/Wiki/GCode#Section_M558_Set_Z_probe_type

    The P0 you have in M558 indicates that no Z probe is present.

    So it should be P4 for a switch? I'll give that a try.

    P4,5,6,7 or 8 - depends how you've connected it. It's explained in the link I gave you. Also, if you are using firmware 1.19 or earlier you need to use a non zero value for Z.


Locked
 

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