Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    M48 macro probes on the center of the bed

    General Discussion
    4
    9
    180
    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.
    • ignacmc
      ignacmc last edited by

      Hello to All

      I have an Anycubic Predator with Duet 2 Wifi + Smart Effector running RRF 3.2.2

      If I use the macro:

      M291 P"Probe will be tested 10 times and return mean and standard deviation. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
      G28
      M401
      G30 P0 X151 Y161 Z-9999
      G30 P1 X151 Y161 Z-9999
      G30 P2 X151 Y161 Z-9999
      G30 P3 X151 Y161 Z-9999
      G30 P4 X151 Y161 Z-9999
      G30 P5 X151 Y161 Z-9999
      G30 P6 X151 Y161 Z-9999
      G30 P7 X151 Y161 Z-9999
      G30 P8 X151 Y161 Z-9999
      G30 P9 X151 Y161 Z-9999 S-1
      M402

      It probes on the center of the bed X=0, Y=0. Shouldn't it probe on X=151, Y=161????

      Predator with Duet3 Mini 5+, Smarteffector and Orbiter Extruder

      tecno 1 Reply Last reply Reply Quote 0
      • tecno
        tecno @ignacmc last edited by

        @ignacmc

        Try to add G1 X151 Y161 after M401

        ignacmc 1 Reply Last reply Reply Quote 0
        • ignacmc
          ignacmc @tecno last edited by

          @tecno I'll try later thanks! So I suppose G30 cannot move X and Y before Z probing movement.

          Predator with Duet3 Mini 5+, Smarteffector and Orbiter Extruder

          droftarts 1 Reply Last reply Reply Quote 0
          • droftarts
            droftarts administrators @ignacmc last edited by droftarts

            @ignacmc X151 Y161 will be outside of the bed radius set in config.g (or config_override.g) by the M665 B parameter (printable radius). Because it can't reach the point, it probes at the current point.

            With a bed centre at X0 Y0, any XY point needs to satisfy x^2 + y^2 > radius^2, so your bed radius is probably less than sqrt ( 151^2 + 161^2) = 220.73mm
            I think bed radius is usually set to 185mm on Anycubic Predators.

            Edit: You also don't need M401 and M402 in your macro. They call sys/deployprobe.g and sys/retractprobe.g and a Smart Effector does not need these. Delete them from your sys folder if they are there; they may interfere with probing.

            Ian

            Cartesian bed-slinger with Duet 3 Mini 5+ WiFi : RRP Fisher Delta v1 with Duet 2 Maestro : TronXY X5S with Duet 2 Wifi (in progress)

            ignacmc 1 Reply Last reply Reply Quote 0
            • ignacmc
              ignacmc @droftarts last edited by

              @droftarts Thank you very much for your kind explanation. This M48 macro was taken from this forum and it is probably for a Cartesian printer... Most of us Delta owners were using it "as it is" without adapting it to our machines

              Predator with Duet3 Mini 5+, Smarteffector and Orbiter Extruder

              dc42 1 Reply Last reply Reply Quote 0
              • dc42
                dc42 administrators @ignacmc last edited by dc42

                This is odd. I would expect the G30 command to either succeed (and move to outside the defined print radius), or fail and not probe at all. Or possibly move as close as it can get to the point you asked for.

                The M401/M402 commands won't do any harm as long as you don't have deployprobe.g or retractprobe.g files, or they have no commands in them.

                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

                ignacmc 2 Replies Last reply Reply Quote 0
                • ignacmc
                  ignacmc @dc42 last edited by

                  @dc42 I will investigate this tonight and report here.

                  Thanks David!

                  Predator with Duet3 Mini 5+, Smarteffector and Orbiter Extruder

                  1 Reply Last reply Reply Quote 0
                  • ignacmc
                    ignacmc @dc42 last edited by ignacmc

                    @dc42 Confirmed...with X and Y values compatible with a Printable Radius of 185 mm, G30 probes where it should. If X and Y are unreachable, it probes on X=0 Y=0

                    Predator with Duet3 Mini 5+, Smarteffector and Orbiter Extruder

                    1 Reply Last reply Reply Quote 0
                    • dc42
                      dc42 administrators last edited by

                      @ignacmc thanks. I've added this to be looked at for the RRF 3.4 release.

                      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

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