How to disable Marlin cold extrusion prevention via G-Code

If you want to test your extruder, you can disable cold extrusion prevention using M302:

marlin_m302_examples.txt
M302 P1

Re-enable with

marlin_m302_reenable.txt
M302 P0

Set the temperature (and enable) using

marlin_m302_set_temp.txt
M302 P0 S170

In order to�**report the current status,**run

marlin_m302_status.txt
M302

Example output�if disabled:

marlin_m302_disabled_output.txt
echo:Cold extrudes are disabled (min temp 170C)

Example output�if enabled:

marlin_m302_enabled_output.txt
echo:Cold extrudes are enabled (min temp 170C)

Whatever you configure will not persist after reboot. In case you want to save the settings to EEPROM in order to persist after reboot, run

marlin_m500_save_eeprom.txt
M500

Check out similar posts by category: 3D Printing, Electronics