-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[BUG] SINGLENOZZLE M106 fan control without SINGLENOZZLE_STANDBY_FAN #18142
Comments
Configurations, please |
Configuration.zip |
Please test the |
I updated to bugfix-2.0.x as of state 34b84d3 but unfortunately the issue remains. Here is how I tested:
Only minor and unrelated changes to the pin layout were performed aside the configuration. But you may also have a look at them in my fork if you prefer to. Next connecting to Marlin via Pronterface:
At this point the fan begins to spin, now switching to tool 1 to repeat the process.
Nothing happens at this point, neither a response nor the fan spinning. After reapplying my changes as stated in the initial post (or alternatively here) the response is as follows:
The fan begins and stops to spin accordingly. |
Probably a simple bug. If it's obvious I'll patch it very soon. If I cannot find the bug then I may ask you for some additional testing and feedback. |
I also seeing this, no fan when printing single nozzle with 3 extruders. even though my Gcode contains M106 S255 at layer 1 (also menu shows 3 fans when only have single fan because single nozzle) // For Cyclops or any "multi-extruder" that shares a single nozzle. // Save and restore temperature and fan speed on tool-change. update: T1 (E2) has fan but when it switches back to T0 (E1) it have no fan. (i have been manual turning on fan with tune menu to complete prints) |
I've had this same problem since I updated to after the mentioned PR Switch bact to Tool 0 Looking at PR [#17712] (url) 89b17b5 except for this block (repeated in a few places) I think I know what the I know what the SINGLENOZZLE part of the the PR was doing but it seems to have been overaggressive in the replacements of the flags. Notably this section of Temperature.cpp which only sets the target fan to 0 if the SINGLENOZZLE_STANDBY_FAN flag is set instead of anytime the SINGLENOZZLE flag is set.
Config |
I performed a quick test changing temperature.cpp to: (change in bold) This worked as expected. Now to figure out a PR. |
this one seems fixed with the pr closing we can reopen if not fixed |
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. |
Bug Description
When having SINGLENOZZLE enabled but leaving SINGLENOZZLE_STANDBY_FAN disabled the command M106 S255 does no longer change the cooling fan speed if another tool than T0 is active.
M106 defaults to the active tool if the P parameter is omitted, however in this scenario fan 0 must be used.
Previously this was fixed by this line
Marlin/Marlin/src/module/temperature.cpp
Line 200 in e4d8336
but since the (otherwise much welcomed) changes from commit 89b17b5 it is no longer active in this scenario.
suggested fix
These changes to temperature.cpp should do the trick:
The text was updated successfully, but these errors were encountered: