filament change gcode … use at your own risk
M106 ; turn on the fan
M117 Heating Both ; LCD message
M104 S230 T0 ; set the filament change temperature to 230°C and continue
M140 S65 ; Heat the bed to reach 65°C
G91 ; sets the coordinates relatively
G92 E0 ; reset extruder
G21 ; set unit measures in metric
G28 ; Auto Home
G1 Z150 X110 Y110 F2000 ; Raise the nozzle 50 mm for easy filament change in due course and center bed
M109 S230 T0 ; wait to reach the nozzle temperature 230°C
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M117 Filament Removal … ; LCD message
G92 E0 ; reset extruder
G1 E3 F300 ; perge some filament before retraction
G92 E0 ; reset extruder
G1 E-200 F2000 ; quantity of filament to be retracted in mm
M400 ; wait for the previous function to complete
G92 E0 ; reset extruder
G1 E-200 F2000
M400 ; wait for the previous function to complete
G92 E0 ; reset extruder
G1 E-80 F2000
M400 ; wait for the previous function to complete
M117 Insert New Filament ; LCD message. Usually doesn’t work as the pause command supresses this massage with “Click to continue …”.
M84 E ; Disable stepper of the Extruder for easy load filament
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
; NOW INSERT THE FILAMENT THROUGH THE EXTRUDER UNTIL IT REACHES THE ENTRY OF THE PTEF TUBE. DON’T OVER INSERT. THE FILAMENT SHOULD ENTER THE TUBE MAX. 1CM.
M25; waits
G92 E0 ; reset extruder
G1 E200 F2000 ; quantity of filament to be inserted in mm
M400 ; wait for the previous function to complete
G92 E0 ; reset extruder
G1 E150 F2000
M400 ; wait for the previous function to complete
M117 Purge… ; LCD message
G92 E0 ; reset extruder
G1 E50 F100 ; final purge at low speed to clean the nozzle
M400 ; wait for the previous function to complete
M117 Filament Changed ; LCD message unless it’s not suppressed by the firmware
M104 S0 T0; set the temperature of the extruder to 0°C
M140 S0 ; set the bed temprature to 0°C
G28 ; Auto Home
M84 ; disable steppers
G90 ; sets the coordinates absolute
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
M300 S400 P300 : G4 P500
I borrowed some elements from something else a while ago, no idea where I got it from, so don’t give me credit or blame lol
The pause feature is fairly broken using sd cards, least for me
In octoprint it pauses in the UI and I can hit resume