Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several printers home X and Y axes after finished printing #39

Open
fzcooper opened this issue Mar 31, 2019 · 1 comment
Open

Several printers home X and Y axes after finished printing #39

fzcooper opened this issue Mar 31, 2019 · 1 comment

Comments

@fzcooper
Copy link

Many cardreader.cpp files contain something similar to the following:

void CardReader::printingHasFinished() {
  stepper.synchronize();
  file.close();
  enqueue_and_echo_commands_P(PSTR("G28 XY"));
  ...
}

The enqueuing of the XY homing command overrides any final positioning g-code the users have configured their slicers to append to the printing gcode. E.g., if a user has configured their printer to raise the Z, home X, and max Y to present the build plate front and center for easier removal, the homing of the Y axis will return the build plate home.

I think the final positioning of the build plate should be left up to the slicer or user and not overridden by the firmware, so this final command should be removed.

@fishcu
Copy link

fishcu commented Jul 30, 2019

Thanks for documenting this fzcooper, been pulling my hair out trying to get to the root of the issue. Had a thorough look at the Marlin code as well but couldn't find where it was triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants