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.27k stars 19.23k forks source link

[BUG] printing is stoping after adjusting X_MAX_POS and PROBING_MARGIN #27134

Closed cwiekol closed 5 months ago

cwiekol commented 5 months ago

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

Yes, and the problem still exists.

Bug Description

As i have my ABL installed 5cm to the left from nozzle, i was looking for a way to cover larger part of bed during bed leveling on right side of bed. I found out that i need to decrease probing margin on right side and extend to maximum X travel of the head to maximum, so that the probe will get as close to right edge of the bed as possible.

So i've changed the following in configuration:

configuration.h

define X_MAX_POS X_BED_SIZE + 20

configuration.adv.h

if PROBE_SELECTED && !IS_KINEMATIC

define PROBING_MARGIN_LEFT PROBING_MARGIN

define PROBING_MARGIN_RIGHT 0

define PROBING_MARGIN_FRONT PROBING_MARGIN

define PROBING_MARGIN_BACK 0

After setting up new configuration (including bed leveling performed as expected) i've started to print and the printer suddenly stopped the process just after starting to extrude.

What i've tested: print from octoprint (stopped at start of intro line) print from sd card (same) print from octoprint with M111 S247 (stopped after intro line plus 10cm of line, without any errors or any comms in terminal) print from octoprint with M111 S254 (without extrusion) (print finished without any interruuptions) print from octoprint with M111 S254 (without extrusion) and then sending M111 S247 in the middle (stopped few seconds after sending command S247 and extrusion start, also no errors shown on LCD nor terminal).

After restoring firmware without those changes in configuration everything went back no normal and after new build with changes again, printer started to act as described again.

Bug Timeline

didn't test on older firmware

Expected behavior

Normal operation.

Actual behavior

Printing stopped without any error nor debug information

Steps to Reproduce

configuration changes: configuration.h

define X_MAX_POS X_BED_SIZE + 20

configuration.adv.h

if PROBE_SELECTED && !IS_KINEMATIC

define PROBING_MARGIN_LEFT PROBING_MARGIN

define PROBING_MARGIN_RIGHT 0

define PROBING_MARGIN_FRONT PROBING_MARGIN

define PROBING_MARGIN_BACK 0

build, upgrade firmware, reset settings, adjust probe offset, perform bed leveling, print (either from Octoprint or SD card, no matter).

Version of Marlin Firmware

FIRMWARE_NAME:Marlin bugfix-2.1.x

Printer model

Creality Ender 3 Pro

Electronics

SKR 1.4 TMC2209

LCD/Controller

LCD 12864

Other add-ons

none

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

OctoPrint

Don't forget to include

Additional information & file uploads

Marlin.zip

cwiekol commented 5 months ago

not sure why, but with current version 2.1.2.3, this one without fixes, above configuration seems to work all right. So as i'm not able to replicate it anymore, i'm closing the issue

github-actions[bot] commented 3 months 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.