Skip to content

Add autotemp capabilities to M104#5223

Closed
FHeilmann wants to merge 2 commits intoMarlinFirmware:RCBugFixfrom
FHeilmann:autotemp_M104
Closed

Add autotemp capabilities to M104#5223
FHeilmann wants to merge 2 commits intoMarlinFirmware:RCBugFixfrom
FHeilmann:autotemp_M104

Conversation

@FHeilmann
Copy link
Contributor

This allows M104 to pass the F and B parameters to set autotemp parameters similar to M109

This allows M104 to pass the F and B parameters to enable autotemp as well
@FHeilmann
Copy link
Contributor Author

One could also avoid code duplication and create a single "autotemp_M109M104()" function

@thinkyhead
Copy link
Member

Yes. I would recommend renaming autotemp_M109 to autotemp_M104_M109 instead, and keeping just the one method.

Create one autotemp_M104_M109 function instead of two individual functions with duplicate code
@thinkyhead
Copy link
Member

Thanks! Squashed and will merge #5238 shortly….

@thinkyhead thinkyhead closed this Nov 17, 2016
@FHeilmann
Copy link
Contributor Author

While I'm thinking about it. Is autotemp capable of dealing with multiple extruders? Like having separate min/max/factor values for each extruder and setting the temperatures accordingly?

@thinkyhead
Copy link
Member

thinkyhead commented Nov 17, 2016

Extruders are still expected to be near-identical in the current Marlin. We don't yet even allow them to have differing steps-per-mm (etc.) values. The issue is that as more indirection is introduced, the more this slows down planner/stepper operations, which are already pushing their performance limits.

@FHeilmann FHeilmann deleted the autotemp_M104 branch November 17, 2016 12:05
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.

2 participants