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

    mesh grid compensation

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    5
    30
    1.4k
    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.
    • Phaedruxundefined
      Phaedrux Moderator @akisjon
      last edited by

      @akisjon said in mesh grid compensation:

      M290 S-0.330

      Why are you setting babystepping in your config.g?

      Z-Bot CoreXY Build | Thingiverse Profile

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

        What type of printer is this?

        Z-Bot CoreXY Build | Thingiverse Profile

        akisjonundefined 1 Reply Last reply Reply Quote 0
        • PaulHewundefined
          PaulHew
          last edited by

          @Phaedrux Think it is a Hypercube Evo, looking at his M550

          P.

          RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
          Voron 2.4 disassembled..... Waiting for the RailCore Mini....

          1 Reply Last reply Reply Quote 0
          • akisjonundefined
            akisjon @Phaedrux
            last edited by

            @Phaedrux M667 CoreXY

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

              @akisjon said in mesh grid compensation:

              M558 P9 Z1 H5 A10 F160 T5000

              The Z1 is deprecated, so remove that.

              G31 P80 X25 Y50 Z0.2

              The recommended P value for the BLTouch is P25.

              Your Z trigger height is very low. When the BLTouch is mounted as described in the Antclabs instructions the base of the probe body should be 8mm above the nozzle tip. This results in a trigger height of ~2mm.

              Not that any of that would solve the tilt in your bed.

              You say you have 3 lead screws now with 3 motors? Are you doing automatic leveling?

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

              Z-Bot CoreXY Build | Thingiverse Profile

              akisjonundefined 1 Reply Last reply Reply Quote 0
              • akisjonundefined
                akisjon @Phaedrux
                last edited by

                @Phaedrux said in mesh grid compensation:

                You say you have 3 lead screws now with 3 motors? Are you doing automatic leveling?

                3 lead screws and 1 motor

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

                  @akisjon Have you leveled the bed frame on the lead screws before belting them together? Does your bed have it's own leveling adjustments?

                  Z-Bot CoreXY Build | Thingiverse Profile

                  akisjonundefined 1 Reply Last reply Reply Quote 0
                  • akisjonundefined
                    akisjon @Phaedrux
                    last edited by

                    @Phaedrux said in mesh grid compensation:

                    Have you leveled the bed frame on the lead screws before belting them together? Does your bed have it's own leveling adjustments?

                    no it does not have its own screws on the bed but i think this effect is not a crooked bed . does it have to do with the settings? ,Before i tying them to the strap, i ll check each one with the fixed points of the printer

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

                      @akisjon said in mesh grid compensation:

                      i think this effect is not a crooked bed

                      I think that's exactly what you have. The display exaggerates the amount of tilt. The difference is only 2.5mm from low point to high point. You should be able to verify that by moving the nozzle around the bed with and without mesh compensation active.

                      How do you plan to level the bed if you don't have adjustment screws for the bed surface and only 1 motor with 3 lead screws?

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • akisjonundefined
                        akisjon
                        last edited by

                        @Phaedrux said in mesh grid compensation:

                        You should be able to verify that by moving the nozzle around the bed with and without mesh compensation active.

                        as you will understand i'm pretty much unrelated to this guy tell me how to do it? will i just click disable bed compension....and then ? as far as screws i'll put them back on, i had them removed to put spacers

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

                          G29 will run a mesh probing routine.
                          G29 S1 will load the saved heightmap and enable mesh compensation.
                          G29 S2 will disable mesh compensation.

                          https://duet3d.dozuki.com/Wiki/Gcode#Section_G29_Mesh_bed_probe

                          Z-Bot CoreXY Build | Thingiverse Profile

                          akisjonundefined 1 Reply Last reply Reply Quote 0
                          • akisjonundefined
                            akisjon @Phaedrux
                            last edited by

                            hello and good year everyone i came again with many corrections but that i dont know how to fix it will help me?
                            Capture1.PNG Capture.PNG
                            is she still out of bed?

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

                              @akisjon That would appear to be sag in the X gantry. No amount of bed leveling will fix that. But mesh compensation should be able to correct for it.

                              The question is, does the mesh compensation correct for it correctly or not?

                              You can test with an STL like this to verify your first layer across the bed surface quickly.

                              bedlevel_nozzle_0.4_200x200-0.3-0.8.stl

                              Print it twice, once without mesh compensation, and once with.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              akisjonundefined 1 Reply Last reply Reply Quote 0
                              • akisjonundefined
                                akisjon @Phaedrux
                                last edited by

                                @Phaedrux In a strange case it prints in both cases but better print when the bed compensation is disable . is it possible?

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

                                  Can you post your current config.g and homing files?

                                  Did you incorporate the changes mentioned earlier in the thread?

                                  You may need to do a more detailed mesh with more points.

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • akisjonundefined
                                    akisjon
                                    last edited by

                                    config.g
                                    ; Configuration file for Duet WiFi (firmware version 2.03)
                                    ; executed by the firmware on start-up
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Sun Oct 27 2019 13:47:05 GMT+0200 (Χειμερινή ώρα Ανατολικής Ευρώπης)

                                    ; General preferences
                                    G21 ; Work in millimetres
                                    G90
                                    M83 ; ...but relative extruder moves
                                    M669 K1 ; Select CoreXY mode
                                    M550 P"Hypercube Evo" ; set printer name

                                    ; Network
                                    M552 S1 ; enable network
                                    M552 P192.168.1.69 S1 ; Enable network and set IP address
                                    M553 P255.255.255.0 ; Set netmask
                                    M554 P192.168.1.1 ; Set gateway
                                    M587 S"COSMOTE-483A22" P"" ; Configure access point. You can delete this line once connec; enable network
                                    M586 P0 S1 ; enable HTTP
                                    M586 P1 S0 ; disable FTP
                                    M586 P2 S0 ; disable Telnet

                                    ; Drives
                                    M569 P0 S1 ; physical drive 0 goes backwards
                                    M569 P1 S1 ; physical drive 1 goes backwards
                                    M569 P2 S1 ; physical drive 2 goes forwards Z
                                    M569 P3 S1 ; physical drive 3 goes forwards
                                    M584 X0 Y1 Z2 E3 ; set drive mapping
                                    M350 X256 Y256 Z256 E256 I1 ; configure microstepping with interpolation
                                    M92 X1280 Y1280 Z6400 E6500 ; set steps per mm
                                    M566 X900.00 Y900.00 Z290 E120.00 ; set maximum instantaneous speed changes (mm/min)
                                    M203 X6000.00 Y6000.00 Z600.00 E1200.00 ; set maximum speeds (mm/min)
                                    M201 X500.00 Y500.00 Z400.00 E250.00 ; set accelerations (mm/s^2)
                                    M906 X1000 Y1000 Z1800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                                    M84 S30 ; Set idle timeout
                                    M376 H0.591
                                    ;M671 X0:0 Y0:0 S0.5 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis

                                    ; Axis Limits
                                    M208 X0 Y0 Z0 S1 ; set axis minima
                                    M208 X440 Y460 Z900 S0 ; set axis maxima

                                    ; Endstops
                                    M574 X1 Y1 S1 ; set active high endstops

                                    ; Z-Probe
                                    M574 Z1 S2 ; set endstops controlled by probe
                                    M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
                                    M558 P9 H4 A6 F120 T4000 R0.2 ;S0.004 ; set Z probe type to bltouch and the dive height + speeds
                                    G31 P25 X25 Y35 Z3.930 ; set Z probe trigger value, offset and trigger height
                                    M557 X50:430 Y100:420 S80 ; define mesh grid

                                    ; Heaters
                                    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
                                    M143 H0 S120 ; set temperature limit for heater 0 to 120C
                                    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
                                    M143 H1 S280 ; set temperature limit for heater 1 to 280C

                                    ; Fans
                                    M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                                    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

                                    ; Tools
                                    M563 P0 D0 H1 F0 ; define tool 0
                                    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
                                    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

                                    ; Custom settings are not defined

                                    ; Miscellaneous
                                    M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                                    T0 ; select first
                                    ;M290 S-0.330

                                    homeall
                                    ; homeall.g
                                    ; called to home all axes
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Sun Oct 27 2019 13:47:05 GMT+0200 (Χειμερινή ώρα Ανατολικής Ευρώπης)

                                    G91
                                    M280 P3 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                    ;M402 ; Retract probe just in case it's down
                                    M564 H0
                                    G1 Z5 F6000 S2 ; lift Z relative to current position
                                    G1 S1 X-480 F4000 ; move quickly to X and Y axis endstops and stop there (first pass)
                                    G1 S1 Y-480 F4000
                                    G1 X5 Y5 F6000 ; go back a few mm
                                    G1 S1 X-480 F360
                                    G1 S1 Y-480 F360 ; move slowly to X and Y axis endstops once more (second pass)
                                    G90 ; absolute positioning
                                    G1 X220 Y220 F6000 ; go to first bed probe point and home Z
                                    G30 ; home Z by probing the bed
                                    ;G29 S1

                                    homex
                                    ; called to home the X axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Sun Oct 27 2019 13:47:05 GMT+0200 (Χειμερινή ώρα Ανατολικής Ευρώπης)
                                    G91 ; relative positioning
                                    G1 Z5 F6000 S2 ; lift Z relative to current position
                                    G1 S1 X-485 F1800 ; move quickly to X axis endstop and stop there (first pass)
                                    G1 X5 F6000 ; go back a few mm
                                    G1 S1 X-485 F360 ; move slowly to X axis endstop once more (second pass)
                                    G1 Z-5 F6000 S2 ; lower Z again
                                    G90 ; absolute positioning

                                    homey
                                    ; homey.g
                                    ; called to home the Y axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Sun Oct 27 2019 13:47:05 GMT+0200 (Χειμερινή ώρα Ανατολικής Ευρώπης)
                                    G91 ; relative positioning
                                    G1 Z5 F6000 S2 ; lift Z relative to current position
                                    G1 S1 Y-485 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                                    G1 Y5 F6000 ; go back a few mm
                                    G1 S1 Y-485 F360 ; move slowly to Y axis endstop once more (second pass)
                                    G1 Z-5 F6000 S2 ; lower Z again
                                    G90 ; absolute positioning

                                    homez
                                    ; homez.g
                                    ; called to home the Z axis
                                    ;
                                    ; generated by RepRapFirmware Configuration Tool v2.0.5 on Sun Oct 27 2019 13:47:05 GMT+0200 (Χειμερινή ώρα Ανατολικής Ευρώπης)
                                    M280 P3 S160 I1 ; Alarm Release and Push-Pin UP just in case it's in alarm and deployed
                                    M402 ; Retract probe just in case it's down
                                    G91 ; relative positioning
                                    G1 Z5 F6000 S2 ; lift Z relative to current position
                                    G90 ; absolute positioning
                                    G1 X210 Y210 F6000; Move x and Y axis over to bed center so probe is on top of bed
                                    G30 ; home Z by probing the bed

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

                                      @akisjon said in mesh grid compensation:

                                      M350 X256 Y256 Z256 E256 I1 ; configure microstepping with interpolation

                                      Best to use x16 microstepping interpolated to 256 by the driver. Using x256 on all axis will lead to problems and offers no real benefit.

                                      @akisjon said in mesh grid compensation:

                                      M376 H0.591

                                      Your bed taper is set exceedingly low. This could be causing the problems you describe.

                                      it is recommended that the taper height be set to at least 20x the maximum error in the height map, so that the maximum amount of the resulting over- or under- extrusion is limited to 5%.

                                      Based on your max deviation of 0.6 your taper should be at least 12mm.

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

                                      @akisjon said in mesh grid compensation:

                                      M557 X50:430 Y100:420 S80 ; define mesh grid

                                      Try S40 to increase your mesh resolution.

                                      @akisjon said in mesh grid compensation:

                                      M564 H0

                                      This is not needed since your Z moves in your homing files are using the S2 parameter already.

                                      @akisjon said in mesh grid compensation:

                                      G1 X220 Y220 F6000 ; go to first bed probe point and home Z
                                      G1 X210 Y210 F6000; Move x and Y axis over to bed center so probe is on top of bed

                                      The probe points in homeall and homez do not match.

                                      Z-Bot CoreXY Build | Thingiverse Profile

                                      akisjonundefined 2 Replies Last reply Reply Quote 0
                                      • akisjonundefined
                                        akisjon @Phaedrux
                                        last edited by

                                        @Phaedrux thank you very much for your quick answers i will try tomorrow

                                        1 Reply Last reply Reply Quote 0
                                        • akisjonundefined
                                          akisjon @Phaedrux
                                          last edited by

                                          @Phaedrux So i do all of the changes you suggested and that is the best effect. impresses me is a curve in the back of the bed, do you know what can come from it?
                                          Capture.PNG

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

                                            The best way to interpret the heightmap visualization is to compare it to an actual print test to see if errors are true to reality and that the correction is being applied successfully.

                                            bedlevel_nozzle_0.4_200x200-0.3-0.8.stl

                                            If you print this test twice, once with mesh compensation active, and again with it deactivated, you should be able to tell if things are working properly.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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