M107 is added at the end of the G-Code

Hi,

I upgraded from RepetierHost 1.6.0 to 1.6.1 on Linux and I have an issue with the generated G-Code.
I have a Kossel-like printer and need to cool the hotend all the time when it's heated to prevent any damage. That's why I commented the M107 commands out in the Curaengine settings (start and end g-codes). But unforunately there is a M107 command in the g-code:

G1 X15.249 Y-12.455 E1150.04697
M107
G1 F2400 E1146.04697
G1 Z6.500
G0 F12000 X15.249 Y-12.455 Z11.300
; Default end code
;G1 X0 Y0 Z130 ; Get extruder out of way. Uncomment to use!
;M107 ; Turn off fan
; Disable all extruder
G91 ; Relative positioning
T0
G1 E-1 ; Reduce filament pressure
M104 T0 S0
G90 ; Absolute positioning
G92 E0 ; Reset extruder position
M140 S0 ; Disable heated bed
M84 ; Turn steppers off


Where is that coming from?

Comments

  • It comes from your slicer configuration and depends on used slicer.

    The problem is that M106/M107 is not meant to cool metal hotends, it is meant to cool the plasic coming out of it.

    In repetier-firmware each extruder has a special extruder cooler pin. That is used to turn fans on while hot or heating, so that is what you really want. This fan is completely independent of any gcode so wrong setting is not possible.
Sign In or Register to comment.