Todd_R
Posts: 27
Joined: Sat Jul 03, 2021 10:10 am

G code to keep nozzle hot during filament change

I'm looking for the G code to keep nozzle hot during filament change.

I'm using {IF "[current_layer_number] == 7"}M600 to do the change, but If I don't get on it right away, the nozzle cools off. I'd like to keep it hot.
parallyze
Posts: 372
Joined: Fri Jun 05, 2015 4:18 am

Re: G code to keep nozzle hot during filament change

Todd_R wrote: I'm looking for the G code to keep nozzle hot during filament change.

I'm using {IF "[current_layer_number] == 7"}M600 to do the change, but If I don't get on it right away, the nozzle cools off. I'd like to keep it hot.
Once M600 is exectued the printers firmware will handle the filament change and its options. Almost all of them need
to be configured in the firmware options before compiling, only few settings can be changed at runtime using M-commands.

The nozzle cooling down sounds like a default setting:

Code: Select all

#define PAUSE_PARK_NOZZLE_TIMEOUT           45  // (seconds) Time limit before the nozzle is turned off for safety.
(default config example, look for advanced config/M600, around line #2630,
https://github.com/MarlinFirmware/Confi ... tion_adv.h)


Assuming your machine is running Marlin because of the M600. Simply adding a M104/M109 likely won't work because the
gcode parser on your printer won't execute commands until the filament change is done.

Return to “General Discussion and Tips”