• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Servo deployed probe on Duet Maestro

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
86
3.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Blacksheep99 @Veti
    last edited by 13 Jan 2021, 21:13

    @Veti Do I take the Z endstop out?

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
    M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop
    undefined 1 Reply Last reply 13 Jan 2021, 21:14 Reply Quote 0
    • undefined
      Veti @Blacksheep99
      last edited by 13 Jan 2021, 21:14

      @Blacksheep99 said in Servo deployed probe on Duet Maestro:

      M574 Z1 S1 P"zstop" ; configure active-high endstop for low end on Z via pin zstop

      change this to
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      undefined 1 Reply Last reply 13 Jan 2021, 21:16 Reply Quote 0
      • undefined
        Blacksheep99 @Veti
        last edited by 13 Jan 2021, 21:16

        @Veti said in Servo deployed probe on Duet Maestro:

        M574 Z1 S2 ; configure Z-probe endstop for low end on Z

        Same on the zprobe?

        ; Z-Probe
        M574 Z1 S1 ; Set endstops controlled by probe
        M950 S0 C"^zprobe.mod" ; create servo pin 0 for BLTouch
        M558 P8 C"^!zprobe.in" H150 F900 T6000 ; Set Z probe type to switch and the dive height + speeds
        G31 P50 X-50 Y-8 Z1.5 ;Set Z probe trigger value, offset and trigger height
        M557 X15:265 Y15:135 S20 ; define mesh grid
        1 Reply Last reply Reply Quote 0
        • undefined
          Phaedrux Moderator
          last edited by 13 Jan 2021, 21:19

          @Veti said in Servo deployed probe on Duet Maestro:

          M574 Z1 S2

          You only need the M574 for Z once. Delete the other instance using S1.

          Unless you wanted to use it as a z max endstop, in which case you physically move the endstop to the high end of Z travel, and set M574 Z2 S1. Then you can create a separate homing macro for the times when you want to home Z at the high end. This is useful when you have a print on the bed after a power loss.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 0
          • undefined
            Blacksheep99
            last edited by 13 Jan 2021, 21:22

            Thanks.

            I think i've changed the config.g now.

            The homeall is similar to how you modified it however when I home all it would need the probe in position prior to the bed moving.

            This is as it is now.

            M402 ; retract the pin just incase
            G91 ; relative positioning
            G1 H2 Z5 F6000 ; lift Z relative to current position
            G1 H1 X-285 Y-155 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
            G1 X5 Y5 F6000 ; go back a few mm
            G1 H1 X-285 Y-155 F360 ; move slowly to X and Y axis endstops once more (second pass)
            G1 H1 Z-155 F360 ; move Z down stopping at the endstop
            G90 ; absolute positioning
            G1 X140 Y75 Z5 F6000 ; move probe into position at bed center
            M401 ; deploy the probe
            G4 P500
            G30 ; probe the bed
            M402 ; retract probe
            G1 X10 Y10 Z10 ; return to parked position
            1 Reply Last reply Reply Quote 0
            • undefined
              Veti
              last edited by 13 Jan 2021, 21:22

              @Blacksheep99 said in Servo deployed probe on Duet Maestro:

              G1 H1 Z-155 F360 ; move Z down stopping at the endstop

              remove that line

              undefined 1 Reply Last reply 13 Jan 2021, 21:28 Reply Quote 0
              • undefined
                Blacksheep99 @Veti
                last edited by 13 Jan 2021, 21:28

                @Veti Done.

                Home all throws an error

                G28
                Error: G0/G1: insufficient axes homed

                1 Reply Last reply Reply Quote 0
                • undefined
                  Phaedrux Moderator
                  last edited by Phaedrux 13 Jan 2021, 21:29

                  G1 X140 Y75 Z5 F6000 ; move probe into position at bed center

                  remove the Z5 from that line as well

                  My example expected the Z axis to be homed at that point, but since that isn't happening the Z move is causing an error. But since it's not being homed, it's already been raised 5mm and doesn't need that move again.

                  Z-Bot CoreXY Build | Thingiverse Profile

                  undefined 1 Reply Last reply 13 Jan 2021, 21:34 Reply Quote 0
                  • undefined
                    Veti
                    last edited by 13 Jan 2021, 21:31

                    it would have been a lot easier if you had used the homeall that i posted at the beginning

                    undefined 1 Reply Last reply 13 Jan 2021, 21:33 Reply Quote 1
                    • undefined
                      Blacksheep99 @Veti
                      last edited by 13 Jan 2021, 21:33

                      @Veti said in Servo deployed probe on Duet Maestro:

                      it would have been a lot easier if you had used the homeall that i posted at the beginning

                      I can only apologise.

                      undefined 1 Reply Last reply 13 Jan 2021, 21:35 Reply Quote 0
                      • undefined
                        Blacksheep99 @Phaedrux
                        last edited by 13 Jan 2021, 21:34

                        @Phaedrux said in Servo deployed probe on Duet Maestro:

                        G1 X140 Y75 Z5 F6000 ; move probe into position at bed center

                        remove the Z5 from that line as well

                        My example expected the Z axis to be homed at that point, but since that isn't happening the Z move is causing an error. But since it's not being homed, it's already been raised 5mm and doesn't need that move again.

                        That ran through and seems to be all good. I'm sure I'll have to tweak the trigger height etc. Thank you so much to both for your guidance and patience with me

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Veti @Blacksheep99
                          last edited by 13 Jan 2021, 21:35

                          @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                          I can only apologise.

                          no problem. i hope this helped you a bit to understand the commands and what they do.

                          undefined 1 Reply Last reply 13 Jan 2021, 21:36 Reply Quote 0
                          • undefined
                            Blacksheep99 @Veti
                            last edited by 13 Jan 2021, 21:36

                            @Veti said in Servo deployed probe on Duet Maestro:

                            @Blacksheep99 said in Servo deployed probe on Duet Maestro:

                            I can only apologise.

                            no problem. i hope this helped you a bit to understand the commands and what they do.

                            Yes it's definitely improved my understanding. I will likely leave things for now. After a long day at work maybe a fresh mind tomorrow will allow me to get a first successful print.

                            1 Reply Last reply Reply Quote 1
                            • undefined
                              dc42 administrators
                              last edited by dc42 14 Jan 2021, 07:04

                              To clarify one thing. It doesn't matter what the probe reads when it is retracted. What matters is that when it is deployed, it reads zero when not triggered, and 1000 when triggered.

                              However, if the probe does read 1000 when retracted, then you may need to ensure that there is a short delay between deploying the probe and starting the probing move, to give the probe time to deploy and the reading to drop to 0. One way of doing this is to use a G4 command in deployprobe.g after the M280 command.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              undefined 1 Reply Last reply 14 Jan 2021, 08:36 Reply Quote 1
                              • undefined
                                Blacksheep99 @dc42
                                last edited by 14 Jan 2021, 08:36

                                Thanks @dc42 this has all really helped my understanding. I’ve massively appreciated all the help I’ve received.

                                1 Reply Last reply Reply Quote 0
                                81 out of 86
                                • First post
                                  81/86
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA