Mesh Levelling Not Working

  • I am printing some retraction calibration cubes across the width of my printer and when it was doing the outline (skirt) it didn't adjust the Z height at all.

    Mesh Image: ** sorry imgur isn't working right now **

    I am slicing with Slic3r PE (latest as of last month):

    The beginning of the print looks like this: (note the G29 S1)

    M190 S65 ; set bed temperature and wait for it to be reached
    M104 S200 ; set temperature
    M200 D1.75
    G28 ; home all axes
    G29 S1
    G1 Z5 F5000 ; lift nozzle
    M106 P2 S0.6
    ; Filament gcode
    M701 S"PLA Select (3DPC)"
    M109 S200 ; set temperature and wait for it to be reached
    G21 ; set units to millimeters
    G90 ; use absolute coordinates
    M83 ; use relative distances for extrusion
    G1 Z0.200 F7800.000
    G1 E-1.20264 F4500.00000
    G1 Z0.400 F7800.000
    G1 X35.641 Y131.234
    G1 Z0.200
    G1 E1.20264 F2400.00000
    G1 F1800
    G1 X36.528 Y131.037 E0.06490

    This is a RepRap Wilson 2 modified with an aluminum bed with a flexplate and buildtak on top. It is using a Titan Aero + Volcano with a BerdAir for cooling. The board is a duet maestro with the lastest beta firmware.

    The Z probe is a bl touch, and the probe heights are configured correctly in the G31 command and the nozzle is calibrated with a piece of paper.

    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  A3  ; Set Z probe type to bltouch and the dive height + speeds
    G31 P25 X-3 Y40 Z1.71      ; Set Z probe trigger value, offset and trigger height
    M557 X0:180 Y0:280 S30:50  ; Define mesh grid

    I have attempted my best to look at comments on other similar threads and answer any questions that come up.

    My configuration is available at

    Thanks for any assistance.

  • Moderator

    @zzing Your imgr picture doesn't appear to be working. Maybe you could upload the heightmap directly into your post.

    Are you saying the Z motors aren't moving at all while the print head is moving across the bed?

    Can you confirm this outside of a print while just manually jogging the print head around while compensation is active?

    Without being able to see your heightmap I can't say if the movement would be noticeable or not, but even very slight correction would have visible movement of the motor shaft.

    BTW, that sounds like a heavily modified Wilson. The WilsonTS was my first printer.

  • Here is the height map:

    RepRapFirmware height map file v2 generated at 2018-11-03 00:25, mean error -0.097, deviation 0.073
    0, 0, 0, 0, 0, 0, 0
    -0.230, -0.206, -0.142, -0.105, -0.062, -0.059, -0.165
    -0.199, -0.163, -0.096, -0.091, -0.046, -0.019, -0.127
    -0.156, -0.116, -0.051, -0.028, 0.025, 0.060, -0.061
    -0.161, -0.135, -0.059, -0.029, -0.005, 0.030, -0.079
    -0.207, -0.213, -0.148, -0.109, -0.075, -0.036, -0.127

    It appears to move the Z when I move manually.

    The Z motor doesn't move during the print.

    My first was a Wilson TS - but it has an imperial threaded rod - not great :P. But this one is not too bad, but I think it has a few issues - it started as the kit. For the price now, it doesn't quite seem like a great deal anymore. But with the modifications, it should be capable of being better than any of the really cheap imports - but haven't quite figured out how to get it there yet. Will make other posts to try to resolve those.

  • administrators

    @zzing said in Mesh Levelling Not Working:

    It appears to move the Z when I move manually.
    The Z motor doesn't move during the print.

    Does anything in your print start GCode clear bed compensation? For example, it might call G28 to home the printer, and you might have M561 or G29 S2 in one of your homing file to clear bed compensation.

  • @dc42 said in Mesh Levelling Not Working:


    Only place I see M561 is in bed.g and no G29 S2.

    I also set G29 S1 after G28.

  • administrators

    Try running M122 during a print, and look for the "Bed compensation in use:" line.

Log in to reply