Skip to content

Delta printers only - Detect/correct condition when only E movement should occur#28482

Open
Bob-the-Kuhn wants to merge 2 commits into
MarlinFirmware:bugfix-2.1.xfrom
Bob-the-Kuhn:DELTA-E-only-when-X,Y,Z-invalid
Open

Delta printers only - Detect/correct condition when only E movement should occur#28482
Bob-the-Kuhn wants to merge 2 commits into
MarlinFirmware:bugfix-2.1.xfrom
Bob-the-Kuhn:DELTA-E-only-when-X,Y,Z-invalid

Conversation

@Bob-the-Kuhn

Copy link
Copy Markdown
Contributor

On a delta printer, when the X, Y, or Z axis is/are invalid, issuing an E only command will result in negative Z movement of the head until it crashes into the bed.

This code detects the condition and then modifies the Z destination so that no Z movement occurs.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Immediately before a print, I like to extrude filament until a nice thread comes out of the nozzle. Sometimes I forget to see if the steppers have timed out before issuing the command. If I issue the command when X, Y and/or Z are invalid (values blinking on LCD), then the head starts descending and will crash into the bed unless I hit RESET or power cycle.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

I have not been able to identify the root cause of this issue. I expect this should be addressed in planner.cpp during the creation of "cart_dist_mm" but I couldn't figure out a change that would compile.

I expect a better solution will be proposed. I have no problems with that.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

My setup:

  • Tevo Littl Monster delta printer
  • BTT Octopus V1.1 controller (STM32F446ZET MCU)
  • Z homes in the positive direction

On a delta printer when the X, Y, or Z axis is/are invalid, issuing an E only command will result in negative Z movement of the head until it crashes into the bed.

This code detects the condition and then modifieds the Z destination so that no Z movement occurs.
1. fix white space typo (new line 92)
2. Add in correction (line 271) - I expect this is coming from another ECO as it showed up after pulling the latest branch and before my ECO was submitted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant