I can't figure out why my printer tries to home after completing a print. This appears on my terminal:
Changing monitoring state from "Printing" to "Finishing"
Send: N30998 M400*44
Recv: ok
Send: N30999 G28 X Y*24
[...]
Recv: X:-24.00 Y:-6.00 Z:16.60 E:676.12 Count X:-1920 Y:-480 Z:6640
Recv: ok
Send: N31000 G28 Z*107
In Cura I have this as End G-code:
M104 S0 ; extruder heater off
M140 S0 ; heated bed heater off
M107; Turn fan off
G91 ; relative positioning
G1 E-1 F300 ; retract the filament a bit before lifting the nozzle to release some of the pressure
G1 Z+2.0 E-5 F6000 ; move Z up and retract filament even more
G90 ; absolute positioning
G1 X0 F6000 ; move X to min endstops so the head is out of the way
G1 Y280 F6000 ; move the bed so it is easy to access to the printed part
G92 E0 ; zero the extruded length
M84 ; steppers off
My Marlin config files are attached. Any ideas where to look?