This is my code for adjusting my bed. But after cleaning nozzle process my printer suddenly set extruder temp to 0. Why is that? What is wrong?
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M190 S55
M104 T0 S215
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G92 E0 ;zero the extruded length
G29 ;AutoBed Leveling
M109 T0 S215
G1 X0 Y0 F2000.0
G1 Z-3.9 F{travel_speed}
G1 Y0.0 F1000.0 ;Go to this specific point from print area
G1 X60 E9.0 F800.0
G1 X100 E15.0 F800.0
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...
G0 F9000 X0.000 Y2.000 Z0.200
;TYPE:WALL-OUTER
G1 F1800 X0.00 Y100.00 E8.35495
G1 X30.00 Y100.00 E8.67424
G1 X30.00 Y2.00 E8.993
G1 X60.00 Y2.00 E9.31284
G1 X60.00 Y100.00 E9.70804
G1 X90.00 Y100.00 E10.087770
G1 X90.00 Y2.00 E10.440900
G1 X120.00 Y2.00 E10.76743
G1 X120.00 Y100.00 E11.067341
G1 X150.00 Y100.00 E11.340651
G1 X150.00 Y2.00 E11.587361
G1 X180.00 Y2.00 E11.807441
G1 X180.00 Y100.00 E12.00
;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}
G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
M190 S55
M104 T0 S215
M107 ;start with the fan off
G28 X0 Y0 ;move X/Y to min endstops
G28 Z0 ;move Z to min endstops
G92 E0 ;zero the extruded length
G29 ;AutoBed Leveling
M109 T0 S215
G1 X0 Y0 F2000.0
G1 Z-3.9 F{travel_speed}
G1 Y0.0 F1000.0 ;Go to this specific point from print area
G1 X60 E9.0 F800.0
G1 X100 E15.0 F800.0
G92 E0 ;zero the extruded length again
G1 F{travel_speed}
;Put printing message on LCD screen
M117 Printing...
G0 F9000 X0.000 Y2.000 Z0.200
;TYPE:WALL-OUTER
G1 F1800 X0.00 Y100.00 E8.35495
G1 X30.00 Y100.00 E8.67424
G1 X30.00 Y2.00 E8.993
G1 X60.00 Y2.00 E9.31284
G1 X60.00 Y100.00 E9.70804
G1 X90.00 Y100.00 E10.087770
G1 X90.00 Y2.00 E10.440900
G1 X120.00 Y2.00 E10.76743
G1 X120.00 Y100.00 E11.067341
G1 X150.00 Y100.00 E11.340651
G1 X150.00 Y2.00 E11.587361
G1 X180.00 Y2.00 E11.807441
G1 X180.00 Y100.00 E12.00
;End GCode
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
G91 ;relative positioning
G1 E-1 F300 ;retract the filament a bit before lifting the nozzle, to release some of the pressure
G1 Z+0.5 E-5 X-20 Y-20 F{travel_speed} ;move Z up a bit and retract filament even more
G28 X0 Y0 ;move X/Y to min endstops, so the head is out of the way
M84 ;steppers off
G90 ;absolute positioning
;{profile_string}