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

    Doubts about correct compensation mesh configuration

    Scheduled Pinned Locked Moved
    General Discussion
    2
    5
    254
    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.
    • lucundefined
      luc
      last edited by

      Hi guys, I need your support. I have been reading everything for days but I cannot understand. I have a self-built coreXY (duet 2 wifi with firmware 2.04) with original bltouch v3. The printer prints well and the bltouch "seems" to work well (let's say the first layer is good) but I have doubts if it works or does not work the compensation mesh and I have doubts about the correct configuration of the start.gcode. My z-axis is driven by a single motor that commands two leadscrews.

      Could anyone please check my configuration files and help me? Thanks to all in advance.

      These are some configuration files (if you need others, ask for them):
      Config.g
      ; Drives
      M569 P0 S0 ; Physical drive 0 goes backwards
      M569 P1 S0 ; Physical drive 1 goes backwards
      M569 P2 S1 ; Physical drive 2 goes forwards
      M569 P3 S1 ; Physical drive 3 goes forwards
      M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
      ; M92 X80.00 Y80.00 Z800.00 E440.00 ; Set steps per mm
      M92 X160.00 Y160.00 Z800.00 E440.00 ; Set steps per mm
      ; Speeds
      M566 X900.00 Y900.00 Z60.00 E1200.00 ; Set maximum instantaneous speed changes (mm/min) Jerk
      M203 X15000.00 Y15000.00 Z300.00 E10000.00 ; Set maximum speeds (mm/min)
      M201 X2000.00 Y2000.00 Z60.00 E6000.00 ; Set accelerations (mm/s^2)
      M204 P4000 T2000 ; Set printing and travel accelerations
      ; Motor currents
      M906 X1700.00 Y1700.00 Z800.00 E600.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout
      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; Set axis minima
      M208 X300 Y300 Z300 S0 ; Set axis maxima
      ; Endstops
      M574 X1 Y1 S0 ; Set active low and disabled 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 H5 F120 T6000 X0 Y0 Z1 ; Set Z probe type 9 to bltouch and the dive height + speeds
      G31 P25 X-26 Y0 Z1.45 ; Set Z probe trigger value, offset and trigger height
      M557 X25:260 Y25:260 S78 ; Define mesh grid
      ; Bed Heaters
      M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
      M305 P0 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 0
      M143 H0 S130 ; Set temperature limit for heater 0 to 130C
      ; Hotend Heaters
      M305 P1 T100000 B3950 R4700 ; Set thermistor + ADC parameters for heater 1
      ; M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; Set temperature limit for heater 1 to 280C
      M307 H1 A687.7 C209.8 D6.9 S1 ; PID Heater

      Bed.g
      M561 ; clear any bed transform
      G29 ; probe the bed and enable compensation

      Homez.g
      G91 ; relative positioning
      G1 Z5 F6000 S2 ; lift Z relative to current position
      G90 ; absolute positioning
      G1 X51 Y25 F6000 ; go to first probe point
      G30 ; home Z by probing the bed set to 0

      Homeall.g
      G91 ; relative positioning
      G1 Z5 F6000 S2 ; lift Z relative to current position
      G1 S1 X-305 Y-305 F3000 ; move quickly to X or Y endstop and stop there (first pass)
      G1 S1 X-305 ; home X axis
      G1 S1 Y-305 ; home Y axis
      G1 X5 Y5 F6000 ; go back a few mm
      G1 S1 X-305 F600 ; move slowly to X axis endstop once more (second pass)
      G1 S1 Y-305 ; then move slowly to Y axis endstop
      G90 ; absolute positioning
      G1 X51 Y25 F6000 ; go to first bed probe point and home Z
      G30 ; home Z by probing the bed

      StartGcode
      G28 ; Home XY
      G1 X145 Y145 ; Move Probe to middle of bed
      G30 ; Do a single probe
      M375 P"heightmap.csv" ; Load my custom heightmap. Otherwise use G29 S1
      G28 X0 Y0 ; Home XY

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        while printing check with m122 if the compensation is active

        1 Reply Last reply Reply Quote 0
        • lucundefined
          luc
          last edited by

          Hello Veti! When printing with the M122 command I read: "Bed compensation in use: mesh, comp offset 0.000"

          Mesh compensation should it be okay then?

          Do you have any suggestions (even on other parameters) on some settings to change?

          1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti
            last edited by

            @luc said in Doubts about correct compensation mesh configuration:

            G31 P25 X-26 Y0

            is the bltouch to the left of the hotend? sometimes this can be set wrong.

            M557 X25:260 Y25:260 S78 ; Define mesh grid

            your grid is very largely spaced. try S20

            lucundefined 1 Reply Last reply Reply Quote 0
            • lucundefined
              luc @Veti
              last edited by luc

              @Veti said in Doubts about correct compensation mesh configuration:

              @luc said in Doubts about correct compensation mesh configuration:

              G31 P25 X-26 Y0

              is the bltouch to the left of the hotend? sometimes this can be set wrong.

              Yes, bltouch is on the left. It is a support that I personally designed.

              M557 X25:260 Y25:260 S78 ; Define mesh grid

              your grid is very largely spaced. try S20

              I try! I had given more space to have 16 points ... with S20 it will do many more.

              Thank you very much!

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