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

    Manual Bed Levelling & Mesh Levelling on a corexy printer?

    Scheduled Pinned Locked Moved
    General Discussion
    3
    27
    1.9k
    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.
    • natty15dundefined
      natty15d @fcwilt
      last edited by

      @fcwilt using those positions gives me a large level area covering roughly 3/5ths of the glass and is big enough for 99% of what I print. This means I don't have to run a mesh levelling routine to compensate for any uneveness.
      If I level at the extremes then only the outer front and rear edges are printable and the centre section is too high and I'd have to use mesh compensation all the time when I just want to use it for very occasional prints

      1 Reply Last reply Reply Quote 1
      • natty15dundefined
        natty15d @fcwilt
        last edited by natty15d

        @fcwilt Just a thought, could I set the following as a macro and use it for regular sized prints that don't need mesh bed compensation

        ; macro to perform manual bed levelling assistance
        ;
        ; G29 ; probe the bed and enable compensation

        ; Preheat PLA
        M140 S60;
        M104 S180 T0;
        M561 ; clear any bed transform
        G28 ; home
        ; M401 ; deploy Z probe (disabled)
        G30 P0 X87 Y314 Z-99999 ; probe near an adjusting screw RL
        G30 P1 X293 Y314 Z-99999 ; probe near an adjusting screw RR
        G30 P2 X293 Y110 Z-99999 ; probe near an adjusting screw FR
        G30 P3 X87 Y110 Z-99999 S4 ; probe near an adjusting screw FL and report adjustments needed
        ; M402 ; retract probe (disabled)

        Then have my bed.g file, that i'd activate with G32, with a different set of probe co-ordinates closer to the edge, and then follow that up with mesh bed compensation?

        1 Reply Last reply Reply Quote 0
        • fcwiltundefined
          fcwilt
          last edited by

          Hi,

          Have you done anything with the conditional gcode feature of v3 firmware?

          I use it to control things like choosing between mesh compensation being enabled or not at the start of a print.

          Since v3 doesn't currently have variables I used dummy fan names as a text variable that I could set and test.

          If you would like I could give you the details.

          Frederick

          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

          natty15dundefined 1 Reply Last reply Reply Quote 1
          • natty15dundefined
            natty15d @fcwilt
            last edited by natty15d

            @fcwilt No I haven't read up on those

            I have the code ready and will try it tomorrow morning but worried I'm going to damage my printer if i mess this code up or it doesn't do what I think it'll do

            How i want it to operate is run G32,
            the print head will move to P0 and the bed will hit the mechanical end stop and stop at "0"
            then i adjust the screw on the bed corner to allow a sheet of paper to just pass between the bed and the nozzle, then tell the printer to move to the next point and so on till all four corners are level

            Is this what will happen with this code?

            ; bed.g
            ; called to perform automatic bed compensation via G32
            ;
            ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Nov 04 2020 17:51:25 GMT+0000 (Greenwich Mean Time)
            ; G29 ; probe the bed and enable compensation

            M561 ; clear any bed transform
            G28 ; home
            ; M401 ; deploy Z probe (disabled)
            G30 P0 X87 Y314 Z-99999 ; probe near an adjusting screw RL
            G30 P1 X293 Y314 Z-99999 ; probe near an adjusting screw RR
            G30 P2 X293 Y110 Z-99999 ; probe near an adjusting screw FR
            G30 P3 X87 Y110 Z-99999 S4 ; probe near an adjusting screw FL and report adjustments needed
            ; M402 ; retract probe (disabled)

            fcwiltundefined 1 Reply Last reply Reply Quote 0
            • fcwiltundefined
              fcwilt @natty15d
              last edited by

              @natty15d said in Manual Bed Levelling & Mesh Levelling on a corexy printer?:

              @fcwilt No I haven't read up on those

              I have the code ready and will try it tomorrow morning but worried I'm going to damage my printer if i mess this code up or it doesn't do what I think it'll do

              How i want it to operate is run G32,
              the print head will move to P0 and the bed will hit the mechanical end stop and stop at "0"
              then i adjust the screw on the bed corner to allow a sheet of paper to just pass between the bed and the nozzle, then tell the printer to move to the next point and so on till all four corners are level

              Is this what will happen with this code?

              ; bed.g
              ; called to perform automatic bed compensation via G32
              ;
              ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Nov 04 2020 17:51:25 GMT+0000 (Greenwich Mean Time)
              ; G29 ; probe the bed and enable compensation

              M561 ; clear any bed transform
              G28 ; home
              ; M401 ; deploy Z probe (disabled)
              G30 P0 X87 Y314 Z-99999 ; probe near an adjusting screw RL
              G30 P1 X293 Y314 Z-99999 ; probe near an adjusting screw RR
              G30 P2 X293 Y110 Z-99999 ; probe near an adjusting screw FR
              G30 P3 X87 Y110 Z-99999 S4 ; probe near an adjusting screw FL and report adjustments needed
              ; M402 ; retract probe (disabled)

              No it doesn't work that way.

              It will probe all for points first and then calculate the required adjustments and display them.

              At least that is how it works with an actual Z probe.

              Have you considered getting one for your printer?

              Frederick

              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

              natty15dundefined 1 Reply Last reply Reply Quote 1
              • natty15dundefined
                natty15d @fcwilt
                last edited by

                @fcwilt Thought about it but only need it for prints that take up the entire bed which for me is rare, and it'll add extra weight the carriage.

                Came across a post by @Phaedrux who did something very close to what i want to do so I've altered it to this

                ; macro to perform manual bed levelling assistance to the centre of the bed only for regular prints

                ; Preheat PLA
                M140 S60;
                M104 S180 T0;
                M561 ; clear any bed transform
                G28 X ; home X
                G28 Y ; home Y
                G28 Z ; home Z

                ; Move nozzle to leveling points and prompt user to level bed at each point
                M291 P"Nozzle will now move to the 4 leveling points RL, RR, FR & FL." S1 T2

                ; Move to Rear Left leveling point P0
                G1 Z5 ; move to z5 for travel
                G1 X87 Y314 ; Move to rear left corner
                G1 Z0 ; move to z0 to level the bed

                M400
                M291 P"Adjust RL using a piece of paper, when set click Confirm to go to RR" R"CONFIRM" S2 Z0

                ; Move to Rear Right leveling point P1
                G1 Z5 ; move to z5 for travel
                G1 X293 Y314 ; Move to rear right corner
                G1 Z0 ; move to z0 to level the bed

                M400
                M291 P"Adjust RR using a piece of paper, when set click Confirm to go to FR" R"CONFIRM" S2 Z0

                ; Move to Front Right leveling point P2
                G1 Z5 ; move to z5 for travel
                G1 X293 Y110 ; Move to front right corner
                G1 Z0 ; move to z0 to level the bed

                M400
                M291 P"Adjust FR using a piece of paper, when set click Confirm to go to FL" R"CONFIRM" S2 Z0

                ; Move to Front Left leveling point P3
                G1 Z5 ; move to z5 for travel
                G1 X87 Y110 ; Move to front left corner
                G1 Z0 ; move to z0 to level the bed

                M400
                M291 P"Adjust FL using a piece of paper, when set click Confirm" R"CONFIRM" S2 Z0

                ; Move Z
                G1 Z50 ; Drop bed to z50 for nozzle clearance

                M291 P"The bed has been mechanically leveled" S2

                fcwiltundefined 1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @natty15d
                  last edited by

                  @natty15d said in Manual Bed Levelling & Mesh Levelling on a corexy printer?:

                  @fcwilt Thought about it but only need it for prints that take up the entire bed which for me is rare, and it'll add extra weight the carriage.

                  Came across a post by @Phaedrux who did something very close to what i want to do so I've altered it to this

                  That might work. You may have to run it more than once.

                  The actual Manual Bed Leveling Assistant (which works best with a Z probe) takes into account how each adjustment screw will interact with the others and the suggested adjustments reflect that.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  natty15dundefined 1 Reply Last reply Reply Quote 1
                  • natty15dundefined
                    natty15d @fcwilt
                    last edited by

                    @fcwilt Just created a second one to level the entire bed, then ill follow that up with Mesh Bed Compensation. That's going to be another head scratcher LOL

                    ; macro to perform manual bed levelling assistance to the Entire bed for large prints

                    ; Preheat PLA
                    M140 S60;
                    M104 S180 T0;
                    M561 ; clear any bed transform
                    G28 X ; home X
                    G28 Y ; home Y
                    G28 Z ; home Z

                    ; Move nozzle to leveling points and prompt user to level bed at each point
                    M291 P"Nozzle will now move to the 4 leveling points RL, RR, FR & FL." S1 T2

                    ; Move to Rear Left leveling point P0
                    G1 Z5 ; move to z5 for travel
                    G1 X40 Y372 ; Move to rear left corner
                    G1 Z0 ; move to z0 to level the bed

                    M400
                    M291 P"Adjust RL using a piece of paper, when set click Confirm to go to RR" R"CONFIRM" S2 Z0

                    ; Move to Rear Right leveling point P1
                    G1 Z5 ; move to z5 for travel
                    G1 X340 Y372 ; Move to rear right corner
                    G1 Z0 ; move to z0 to level the bed

                    M400
                    M291 P"Adjust RR using a piece of paper, when set click Confirm to go to FR" R"CONFIRM" S2 Z0

                    ; Move to Front Right leveling point P2
                    G1 Z5 ; move to z5 for travel
                    G1 X340 Y52 ; Move to front right corner
                    G1 Z0 ; move to z0 to level the bed

                    M400
                    M291 P"Adjust FR using a piece of paper, when set click Confirm to go to FL" R"CONFIRM" S2 Z0

                    ; Move to Front Left leveling point P3
                    G1 Z5 ; move to z5 for travel
                    G1 X40 Y52 ; Move to front left corner
                    G1 Z0 ; move to z0 to level the bed

                    M400
                    M291 P"Adjust FL using a piece of paper, when set click Confirm" R"CONFIRM" S2 Z0

                    ; Move Z
                    G1 Z50 ; Drop bed to z50 for nozzle clearance

                    M291 P"The entire bed has been mechanically leveled, now perform Mesh Bed Compensation" S2

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

                      That macro worked well for me because I can easily visually see how close the nozzle is to the bed so a tiny adjustment to the screw is needed and it stays put for a long time. I have it do two passes of the 3 screws and it's enough for me. YMMV

                      Z-Bot CoreXY Build | Thingiverse Profile

                      natty15dundefined 1 Reply Last reply Reply Quote 1
                      • natty15dundefined
                        natty15d @Phaedrux
                        last edited by

                        @Phaedrux @fcwilt thank you for your assistance, with your help i've managed to setup the printer with manual bed levelling and no sensor, tested it, tweaked and its now good to go 🙂

                        fcwiltundefined natty15dundefined 2 Replies Last reply Reply Quote 1
                        • fcwiltundefined
                          fcwilt @natty15d
                          last edited by

                          @natty15d

                          Very glad to hear you got it working.

                          If you get tired to doing it manually a 8mm inductive sensor like mine only weighs 43 grams. I would imagine your existing extruder assembly weighs a good deal more than that.

                          Frederick

                          Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                          1 Reply Last reply Reply Quote 1
                          • natty15dundefined
                            natty15d @natty15d
                            last edited by

                            @Phaedrux @fcwilt I used Mesh Bed Compensation for the first time and it worked perfectly. What id like to know is now that I've switched the printer off, when i turn it back on is the MBC still on or do i have activate it with G29 S1.
                            Is there a way to see if the MBC is active or inactive on the paneldue or web interface?

                            Thanks
                            Nathan

                            fcwiltundefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @natty15d
                              last edited by

                              @natty15d said in Manual Bed Levelling & Mesh Levelling on a corexy printer?:

                              @Phaedrux @fcwilt I used Mesh Bed Compensation for the first time and it worked perfectly. What id like to know is now that I've switched the printer off, when i turn it back on is the MBC still on or do i have activate it with G29 S1.
                              Is there a way to see if the MBC is active or inactive on the paneldue or web interface?

                              The height map you created with G29 or G29 S0 is saved and can be re-loaded at any time with G29 S1.

                              But you do have to re-load it. I do it at the start of each print and unload it at the end of each print as it really serves no purpose when you are not printing.

                              All slicers that I have used have a way to execute user created gcode.

                              My approach is to have a macro called print_begin.g and another called print_end.g.

                              In the slicer I have M98 P"print_begin.g" and M98 P"print_end.g" in the appropriate places the slicer provides for entering user code.

                              The macros do everything required to prepare to start a print or finish up at the end of a print.

                              Frederick

                              Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

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

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

                                Z-Bot CoreXY Build | Thingiverse Profile

                                1 Reply Last reply Reply Quote 1
                                • fcwiltundefined
                                  fcwilt
                                  last edited by

                                  Hi,

                                  I forgot to include this screen shot showing where you can check the state of mesh compensation.

                                  This is from the DWC for v3.2.2

                                  Frederick

                                  Duet 3 DWC Comp & Cal Pulldown Menu.png

                                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                                  natty15dundefined 1 Reply Last reply Reply Quote 1
                                  • natty15dundefined
                                    natty15d @fcwilt
                                    last edited by

                                    @fcwilt That's perfect thankyou again

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