MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.28k stars 19.23k forks source link

[BUG] Random z-offset without ABL on Ender 3 V2 with BTT SKR Mini E3 V2.0 (GD chip) and DWIN Display #22415

Closed blazewicz closed 3 years ago

blazewicz commented 3 years ago

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

My printer isn't consistent in printing first layer, it randomly adds tiny z-offset at the beginning of the print. Sometimes it's clearly visible, like 5 mm, and sometimes its just enough to ruin the first layer. I managed to capture one event when it added maybe 0.2 mm to the z-offset.

This is how it should look, and sometimes does:

The Good

And this is how it looks when it goes crazy:

The Bad

On both videos it is the same printer and same g-code, same fragment. These where 2 consecutive attempts to print. I removed the filament from the nozzle so the gap is better visible.

There is no problem with z-height accuracy otherwise. If I adjust bed height on the beginning of the print it prints well.

I don't have any ABL, I use stock Z-Stop switch type. It doesn't seem to be issue with the Z-Stop, because G28 always ends with nozzle gently touching the bed.

It can be seen just after the first line following initial G28 and happens on all files, no matter the slicer, here is my start G-code:

M117 Start G-code ...

G90    ; Absolute Positioning
G92 E0 ; Reset Extruder

G28                             ; Home all axes
G0 Z2.0 F3000                   ; Move Z Axis up little to prevent scratching of Heat Bed
G0 X0.1 Y20 Z0.3 F5000.0        ; Move to start position
G1 X0.1 Y200.0 Z0.3 E15 F1500.0 ; Draw the first line
G0 X0.4 Y200.0 Z0.3 F5000.0     ; Move to side a little
G1 X0.4 Y20 Z0.3 E30 F1500.0    ; Draw the second line
G92 E0                          ; Reset Extruder
G0 Z2.0 F3000                   ; Move Z Axis up little to prevent scratching of Heat Bed
G0 X5 Y20 Z0.3 F5000.0          ; Move over to prevent blob squish

M117 Printing ...

Bug Timeline

No response

Expected behavior

No response

Actual behavior

No response

Steps to Reproduce

No response

Version of Marlin Firmware

bugfix-2.0.x

Printer model

Ender 3 V2

Electronics

BTT SKR Mini E3 V2.0 (GD32F103RET6 chip)

Add-ons

No response

Your Slicer

No response

Host Software

Other (explain below)

Additional information & file uploads

Happens when printing from SD card and from Octoprint.

Below is my config, I use STM32F103RE_btt_USB env.

Configuration.zip

DerAndere1 commented 3 years ago

Thanks for the report. When the first layer is fine, then you never experience issues with the Z hight during print? Then a loose coupler on the Z axis or skipped steps can be excluded. hmm.

EDIT: you can ignore my comment below because your config has MESH_BED_LEVELING disabled.

ORIGINAL COMMENT; In case you have used mesh bed leveling (MBL) and downloaded your firmware before 20th July 2021, please test again with current Marlin bugfix-2.0.x (after commit https://github.com/MarlinFirmware/Marlin/commit/154decfc66c30808cfe7320e542fcf90427d7176 ).

blazewicz commented 3 years ago

Ok, I think I got this. I've bathed the z-stop in IPA and then sprayed it with preparation for electical contants and it seems that the issue is gone.

It probably was only z-homing issue, and my observations that homing worked at all times were probably false.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.