You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
case302: // M302 S<0 or 1> - allow cold extrusion.// Without S parameter it will allow. S1 will disallow.Printer::setColdExtrusionAllowed(!com->hasS() || (com->hasS() && com->S != 0));
break;
"Without S parameter, it will allow." Correct:!com->hasS()
"S1 will disallow." Wrong:com->hasS() && com->S != 0
According to the code, S1 will actually allow cold extrusion, not disallow it. (The same as RepRapFirmware's "P" parameter, but the exact opposite of Marlin.)
I'd like to see this command applied consistently, if possible. In Marlin 1.0.x the behavior is:
M302 S0 allows cold extrusion (by setting the min extrusion temp to 0)
M302 by itself allows cold extrusion (exactly the same as S0)
M302 S180 disables cold extrusion below 180 (celsius only in 1.0.x)
The source code for
M302
states:!com->hasS()
com->hasS() && com->S != 0
According to the code,
S1
will actually allow cold extrusion, not disallow it. (The same as RepRapFirmware's "P" parameter, but the exact opposite of Marlin.)I'd like to see this command applied consistently, if possible. In Marlin 1.0.x the behavior is:
M302 S0
allows cold extrusion (by setting the min extrusion temp to 0)M302
by itself allows cold extrusion (exactly the same as S0)M302 S180
disables cold extrusion below 180 (celsius only in 1.0.x)I'm proposing to extend Marlin's
M302
(MarlinFirmware/Marlin#4222) with the following changes:M302
by itself displays the current cold extrusion status (RepRapFirmware).M302 P1
allows cold extrusion (RepRapFirmware).M302 P0
disallows cold extrusion below the current min extrusion temp (RepRapFirmware).M302 S180 P1
sets the min extrusion temp to 180, but allows cold extrusion.The text was updated successfully, but these errors were encountered: