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

    Duet Maestro in MakerGear M3

    Scheduled Pinned Locked Moved
    General Discussion
    4
    48
    1.7k
    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.
    • guycobb2undefined
      guycobb2 @Phaedrux
      last edited by

      @Phaedrux Dang it. I didn’t think about resuming a print. How well would that work though if zero was set with the bltouch and not the endstop?

      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @guycobb2
        last edited by

        @guycobb2 said in Duet Maestro in MakerGear M3:

        How well would that work though if zero was set with the bltouch and not the endstop?

        See the guide I linked for exactly that solution.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • guycobb2undefined
          guycobb2
          last edited by

          Gotten a little further in the set up process. The next thing I’m looking to do is set up manual bed level assistance. After that I plan on setting up the bed mesh compensation but was curious, do both of those call on the bed.g file?

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @guycobb2
            last edited by

            manual bed level assistance and bed mesh compensation are two different things and you can use them together.

            Bed.g is just a macro file that happens to get called by G32. You can put whatever you want into bed.g. It's up to you how you use it.

            Manual bed level assistance as laid out in the documentation would make sense to put into bed.g so that you can run it with G32.

            Mesh compensation is different. G29 will run a probe routine and map the bed surface and save the results. G29 S1 can then be used later to load that saved result.

            So your bed.g file could be setup to home the printer, clear any bed adjustments, probe the points nead the screws for manual leveling assistance, and then load the saved heightmap if you wish, or probe the entire bed. It's entirely up to you.

            I would suggest visualizing how you want things to proceed when you start a print and write that out step by step, and then trying to work through how that would look with Gcode. Ask yourself if something needs to be done before each print, or only occasionally. Do you want it to happen automatically, or only by request? What state does the machine need to be in before each step? What state will it be in afterwards?

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 1
            • guycobb2undefined
              guycobb2
              last edited by guycobb2

              So what’s the m671 stuff in the config.g for?

              I’ll just be looking to do the manual adjustment on occasion, of course. It seems to hold its position quite well. However, before each print I plan on a somewhat quick 9 point mesh compensation as that’s what it used in stock form and I had zero complaints. The print area is only 202 x 233

              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                M671 is where you define the position of the screws.
                https://duet3d.dozuki.com/Wiki/Gcode#Section_M671_Define_positions_of_Z_leadscrews_or_bed_levelling_screws

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • guycobb2undefined
                  guycobb2
                  last edited by

                  Ok, that makes more sense. So, if I place the nozzle above a screw to find it’s XY coordinates, do I use the numbers shown on the GUI or do I need to compensate for the 21mm X offset of the BLtouch? I have the BLtouch offset defined in the config.g file.

                  1 Reply Last reply Reply Quote 0
                  • Phaedruxundefined
                    Phaedrux Moderator
                    last edited by

                    M671 would be the location of the screws in absolute coordinates. So yes the nozzle position should define it. It's in your bed.g where you would be defining the probing points that you may have to account for the probe offset so that you're positioning the probe close to the screws rather than the nozzle close to the screws.

                    I assume you've seen these:

                    https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant
                    https://duet3d.dozuki.com/Wiki/Using_mesh_bed_compensation

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 1
                    • guycobb2undefined
                      guycobb2
                      last edited by

                      Excellent. Thanks. I do indeed already have both of those docs opened in tabs. Currently at work, just trying to determine my attack plan for when I get home tonight.

                      Some of the docs just didn’t explain enough detail as to what everything did (or at least I didn’t see it if it did) but you’re making things more clear.

                      1 Reply Last reply Reply Quote 0
                      • guycobb2undefined
                        guycobb2
                        last edited by

                        So I have the manual bed adjustment assistant working and used it to tram the bed.

                        After that I setup the m557 for the bed mesh compensation and tried running it. However, I keep getting a “Error G29: no valid grid defined for bed probing” .

                        Here’s my bed.g that’s setup for the leveling assistant.

                        ; bed.g
                        ; called to perform manual bed level assistant via G32
                        ;
                        ; generated by RepRapFirmware Configuration Tool v2.1.8 on Mon Feb 24 2020 01:49:32 GMT-0600 (Central Standard Time)
                        M561 ; clear any bed transform
                        G28 ; home all axis
                        G30 P0 X25 Y16 Z-99999
                        G30 P1 X215 Y16 Z-99999
                        G30 P2 X25 Y248 Z-99999
                        G30 P3 X215 Y248 Z-99999 S4
                        G1 X100 Y126.5 F9000 ; go to center of bed

                        And here’s a chunk from my config.g file....what am I missing?

                        ;Z-Probe
                        M558 P9 H5 F300 T9000 ; set Z probe type to bltouch and the dive height + speeds
                        G31 P500 X21.0 Y0 Z1.048 ; set Z probe trigger value, offset and trigger height
                        M557 X25:215 Y16:Y248 P3 ; define mesh grid with P defining number of points to probe in each axis

                        ; Manual Bed Leveling Assistant
                        M671 X21:219.5:21:219.5 Y8.5:8.5:257.5:257.5 P0.7 ; bed adjustment screws are front left (x21,y8.5), front right (x219.5,y8.5), rear left (x21,257.5), rear right (x219.5,y257.5), thread pitch is 0.7

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

                          @guycobb2 M557 looks okay, assuming that the X and Y limits you have set can be reached by the probe. Did you restart after changing config.g? Try entering the M557 command directly in the console. Sending M557 on it's own should report the settings. G29 doesn't use the bed.g, G32 does.

                          Ian

                          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                          1 Reply Last reply Reply Quote 0
                          • guycobb2undefined
                            guycobb2
                            last edited by

                            M557 reports “grid not defined”. Wtf?

                            Phaedruxundefined 1 Reply Last reply Reply Quote 0
                            • Phaedruxundefined
                              Phaedrux Moderator @guycobb2
                              last edited by

                              @guycobb2 said in Duet Maestro in MakerGear M3:

                              M557 reports “grid not defined”. Wtf?

                              What do you get if you copy and paste your m557 from config.g into the console?

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 0
                              • Phaedruxundefined
                                Phaedrux Moderator
                                last edited by

                                @guycobb2 said in Duet Maestro in MakerGear M3:

                                M557 X25:215 Y16:Y248 P3

                                I think I see the issue... Do you notice the Y values? You've got an extra Y in there.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 0
                                • guycobb2undefined
                                  guycobb2
                                  last edited by

                                  Sonofabitch. 😂😂😂

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    Still curious to see what the console feedback would be from that line.

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    guycobb2undefined 1 Reply Last reply Reply Quote 0
                                    • guycobb2undefined
                                      guycobb2
                                      last edited by

                                      How in the crap have I overlooked that for 24 hours?

                                      1 Reply Last reply Reply Quote 0
                                      • guycobb2undefined
                                        guycobb2 @Phaedrux
                                        last edited by

                                        @Phaedrux it said the Y value too small

                                        1 Reply Last reply Reply Quote 0
                                        • guycobb2undefined
                                          guycobb2
                                          last edited by

                                          More specifically “error m557: bad grid definition: Y range too small”

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by

                                            Well that would have been a clue anyway.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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