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

M600 R<resume temperature> #17919

Merged
merged 8 commits into from
May 11, 2020
Merged

M600 R<resume temperature> #17919

merged 8 commits into from
May 11, 2020

Conversation

chestwood96
Copy link
Contributor

Description

I added the 'N' parameter to M600 to tell it the printing temperature of the new material.

With those changes M600 will unload like before, then heat either the current target temperature or the next target temperature (whichever is hotter) to load and purge. After the purge is done it will wait until it has reached the new target temperature and return printing.

If no N parameter is given it will behave like normal.

Benefits

Different materials start printing at their set temperature instead of printing at the temperature of the previous one for a bit. May also be useful for the same material if the color or finish is temperature dependent.

The N parameter can be dynamically set using prusa slicer macros:
M600 N[temperature_[next_extruder]]; Filament change

chestwood96 and others added 6 commits May 8, 2020 20:49
~ M600 waits for the next temp before returning
~ M600 heats to the hotter of the temperatures (current and next) while purging
@AnHardt
Copy link
Member

AnHardt commented May 10, 2020

Really?
'N' like in "LineNumber"?

@chestwood96
Copy link
Contributor Author

Not quite sure how to read this comment.

Yes really, no not lineNumber, why line number, I am confused?

I did choose N (as in NextTemperature) because T (for Target, Temperature or TargetTemperature) was allready taken. If I somehow violated a convention I have no issues about changing it.

@thinkyhead
Copy link
Member

The N parameter is customarily verboten, along with M and G. There is only one other G-code that uses the N parameter, and that's kind of an oversight. A better parameter would be the first available out of S, P, H, I, etc. and if another "acronym" letter can be chosen that is preferred. So, instead of "(N)ext" temperature it could be "(R)esume" if that letter is available.

@thinkyhead thinkyhead changed the title + Added 'N' (Next temp) parameter to M600 M600 R<resume temperature> May 11, 2020
@thinkyhead thinkyhead merged commit 1475fd3 into MarlinFirmware:bugfix-2.0.x May 11, 2020
@chestwood96 chestwood96 deleted the bugfix-2.0.x branch May 11, 2020 09:59
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request May 29, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
jmp0x0000 pushed a commit to jmp0x0000/Marlin that referenced this pull request Aug 7, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
njibhu pushed a commit to njibhu/Marlin that referenced this pull request Aug 24, 2020
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
HairingX pushed a commit to HairingX/Marlin that referenced this pull request Jun 16, 2021
Co-authored-by: Scott Lahteine <github@thinkyhead.com>
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.

3 participants