-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
Fix for PARKING_EXTRUDER homing and solenoid control #20473
Fix for PARKING_EXTRUDER homing and solenoid control #20473
Conversation
Thanks for taking the time to work out the issues. It's not always easy to find testers for these interesting features. |
Cheers @thinkyhead, your appraisal means a lot! I've been using Marlin for a couple of years now, this is the first time I took the initiative to contribute, mainly due to building a new printer from the scratch as a past-time project (now with the lockdown and all). I'll try to do it more in the future. Keep up the good work! |
Thanks for the patch! Just had to do some final cleanup, and will merge shortly…. |
* [cron] Bump distribution date (2020-12-31) * SPI and pins cleanup * [cron] Bump distribution date (2021-01-01) * Prefix SD SPI pins (SCK, MISO, MOSI, SS) (MarlinFirmware#20606) Co-authored-by: Scott Lahteine <[email protected]> * Fix PARKING_EXTRUDER homing with solenoid (MarlinFirmware#20473) * Fix CHAMBER_FAN_MODE 0 build (MarlinFirmware#20621) * [cron] Bump distribution date (2021-01-02) * Fix UBL mesh edit delta moves (MarlinFirmware#20620) Co-authored-by: Scott Lahteine <[email protected]> * Fix //action prefix (MarlinFirmware#20600) * Assisted Tramming improvements (MarlinFirmware#20298) * Check for misplaced configs on build (MarlinFirmware#20599) Co-authored-by: Scott Lahteine <[email protected]> * Fix a comment (MarlinFirmware#20629) * Document, adjust some homing code * Improved bootscreen animation * [cron] Bump distribution date (2021-01-03) * Homing code followup (MarlinFirmware#20632) Patching a87e519 * Animated boot followup * Add ALL_AXES manual move for UBL mesh editing Co-Authored-By: Jason Smith <[email protected]> MarlinFirmware#20620 * Creality 4.2.10 board (MarlinFirmware#20647) * Update Italian language (MarlinFirmware#20663) * [cron] Bump distribution date (2021-01-04) * Fix thermal error protection, reporting (MarlinFirmware#20655) * Rename FTDI EVE screen data structs * Fix SD SPI Speed override, FTDI mesh edit (MarlinFirmware#20657) Co-authored-by: Scott Lahteine <[email protected]> * Fix IDEX reboot on travel after G28 X (MarlinFirmware#20654) * Fix delayed_move_time elapsed test * Move duplication_e_mask Co-authored-by: thinkyhead <[email protected]> Co-authored-by: Scott Lahteine <[email protected]> Co-authored-by: Victor Oliveira <[email protected]> Co-authored-by: zeleps <[email protected]> Co-authored-by: Jason Smith <[email protected]> Co-authored-by: ellensp <[email protected]> Co-authored-by: qwewer0 <[email protected]> Co-authored-by: Giuliano Zaro <[email protected]> Co-authored-by: Marcio T <[email protected]> Co-authored-by: InsanityAutomation <[email protected]>
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Followups to MarlinFirmware#20473 ahead of MarlinFirmware#20675
Description
PARKING_EXTRUDER feature is -apparently- not widely used and it appears that, through the many changes in the homing operation, the feature broke. As it is evident from the code remnants, the intention was to finish homing with the correct extruder unparked. This does not happen, and also there never was a provision for supporting an X_MAX homing configuration. Also, M380/381 gcodes did not take PARKING_EXTRUDER solenoid configuration into account, thus working in reverse under certain conditions. The proposed solution minimizes the movements necessary to unpark the right extruder after homing, while considering if the homing operation begins with no extruder attached and respecting the differences in homing direction.
Benefits
PARKING_EXTRUDER homing and solenoid control now work as initially intended
Configurations
Only PARKING_EXTRUDER needs to be enabled
Related Issues
None, it seems that this feature is not widely used, but it was broken nonetheless, so a fix was needed.
Integration Testing
Enable and configure PARING_EXTRUDER option.
Perform the following actions and verify results:
Reverse X-Axis homing (can be temporarily done in-place by reversing solenoid pins, endstop pins, USE_XMAX_PLUG, X_HOME_DIR and INVERT_X_DIR)
Perform the following actions and verify results: