Start both heaters at once (and where is the phantom start code coming from?)

I have an Ender 3 and the PSU can easily run both heaters at startuip so I want it to do that.
In Printer Settings, I can see sections for Start GCODE, End GCODE etc. They are all empty.
And in the Slic3r settings -> Printer settings, I can also see sections for Start G-code, End G-Code etc. These are NOT empty.
Howver, neither of these contain the code I see at the start of all my GCODE files prepared by Slic3r on Repetiere Host, which I've included below. As you can see, it does two "turn on heater and wait for temp" commands, one for the bed and one for the nozzle.

So - where is that code coming from and how can I change/remove it from my sliced files?



; generated by Slic3r 1.3.1-dev on 2019-12-28 at 16:43:22

; external perimeters extrusion width = 0.44mm (3.38mm^3/s)
; perimeters extrusion width = 0.48mm (7.54mm^3/s)
; infill extrusion width = 0.48mm (10.05mm^3/s)
; solid infill extrusion width = 0.48mm (2.51mm^3/s)
; top infill extrusion width = 0.48mm (1.88mm^3/s)

M107 ; disable fan
M190 S55 ; set bed temperature and wait for it to be reached
M104 S205 ; set temperature
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle

; Filament gcode

M109 S205 ; set temperature and wait for it to be reached



  • The code above i generated from the 'start gcode' in slic3r, it probably looks slightly different as slic3r converts placeholders into actual variables
    M190 S[first_layer_bed_temperature] ; set bed temp
    M104 S[first_layer_temperature_0]  ; start extruder heating

    replace your M190 and M104 lines with

    G90 ; Absolute positioning
    M104 S150  ; start extruder heating
    M190 S[first_layer_bed_temperature] ; set bed temp
    M140 S[first_layer_bed_temperature]  ;wait for bed temp
    M109 S[first_layer_temperature_0]  ; Wait for all used extruders to reach temperature
    G92 E0 ; Reset extruder position

    the above should start hotend and bed heating together then wait till bed reaches first layer temp then finish heating hotend too first layer temp
Sign In or Register to comment.