M600 - ThomasToka/MarlinFirmware GitHub Wiki
As of v021 the firmwares are capable of initiating a filament runout on demand when printing from sd card.
On print start the icon will be activated on the main site and you can force a filament runout whenever you want.
Cura
To slice a filament runout / filament change for example in Cura 5.5 these settings are needed:
Orcaslicer
To slice a filament runout / filament change for example in Orcaslicer these settings are needed:
You need to set "Manual Filament Change" under "Printer Settings":
This results in a correct filament change code without a T1 in it.
; filament end gcode
M600
M106 S255
; MANUAL_TOOL_CHANGE T1
M104 S220 ; set nozzle temperature
; filament start gcode