After "load filament" temp stays high?



  • Hi,
    after loading a filament, it ignores T0 M104 S0 and also G10 P1 S0 at the end of the script, and leaves on the temperature that is in the materials/.../config.g - is that an intended behaviour or what am I doing wrong? I commented out any M703 in the load script and have put temperatures again manually with M104 S_ . Any hint appreciated!

    Testing latest 2.03b3 on a 1.0.4-board


  • administrators

    What is the exact sequence you are running? Please provide the contents of the files concerned.



  • M291 P"Please wait while the nozzle is being heated up" R"Loading PLA_filafarm_white" T8 ; Display message

    ; do all motor stuff before
    ;z-hop
    G91 ; relative positioning
    M98 P"home-zhop-plus.g" ; call P".g" submacro; see https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram
    G90 ; absolute positioning
    ; turn motors off to have faster heatup and more consistent temp-measuring:
    ;M84 E0 ; turn motor off, motors can be specd with X, Y, Z, E0, E0:1, ...

    ; turn on heater
    ;T0 ; select tool
    ;M703 ; get values from filaments/"..."/config.g
    ;M104 S240 ; set extruder temperature for choosen tool
    G10 P0 S240 ; set current tool P_ temperature to S___°C

    M116 ; Wait for temp to be reached (https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait), optional heater H_, tool P_, tolerance S_°C (def 2°C)

    ; let heat spread
    G4 P5000 ; Wait ____millisecond (1000ms = 1s)

    M291 P"Feeding filament..." R"Loading PLA_filafarm_white" T8 ; Display new message
    G1 E10 F100 ; Feed E___mm of filament at F____mm/min
    G1 E20 F300 ; Feed E___mm of filament at F____mm/min
    G1 E200 F800 ; Feed E___mm of filament at F____mm/min
    ;M400 ; Wait for moves to complete
    ;G4 P10 ; Wait ____millisecond (1000ms = 1s)
    G1 E-10 F1800 ; Retract (-) E___mm of filament at F____mm/min
    M400 ; Wait for moves to complete

    ;M84 E0 ; turn motor off, motors can be specd with X, Y, Z, E0, E0:1, ...

    G10 P0 S0 ; set current tool P_ temperature to S___°C
    M104 S0 ; set extruder temperature for choosen tool
    ;M116 ; Wait for temp to be reached (https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait), optional heater H_, tool P_, tolerance S_°C (def 2°C)

    ;z-hop
    G91 ; relative positioning
    M98 P"home-zhop-minus.g" ; call P".g" submacro; see https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram
    G90 ; absolute positioning

    ;communicate "done":
    M291 P"Done filament load" T5 ; Display message
    M300 S300 P1000 ; beep
    M292 ; Hide the message


  • administrators

    If you set the target temperature to a value below 40, then RRF doesn't wait for the temperature to fall to the target because ambient temperature may well be higher than that target. So G0 P0 S0 (or M104 S0) followed by M116 won't work. Instead you should set the temperature to a more reasonable target value, 40C or higher.



  • @dc42
    Thanks!
    Would something like this be reasonable:

    ; turn heater off with wait to safe value ("safe" below 70°C +- 2°C = 68°C)...
    G10 P0 S68 ; set current tool P_ temperature to S___°C
    M104 S68 ; set extruder temperature for choosen tool
    M116 ; Wait for temp to be reached (https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait), optional heater H_, tool P_, tolerance S_°C (def 2°C)
    ; ...for the rest of the heat do not wait (no M116)...
    G10 P0 S35 ; set current tool P_ temperature to S___°C
    M104 S35 ; set extruder temperature for choosen tool


  • administrators

    @lb said in After "load filament" temp stays high?:

    @dc42
    Thanks!
    Would something like this be reasonable:

    ; turn heater off with wait to safe value ("safe" below 70°C +- 2°C = 68°C)...
    G10 P0 S68 ; set current tool P_ temperature to S___°C
    M104 S68 ; set extruder temperature for choosen tool
    M116 ; Wait for temp to be reached (https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait), optional heater H_, tool P_, tolerance S_°C (def 2°C)
    ; ...for the rest of the heat do not wait (no M116)...
    G10 P0 S35 ; set current tool P_ temperature to S___°C
    M104 S35 ; set extruder temperature for choosen tool

    Yes, although if you effectively want to turn the heater off at the end you can use 0 instead of 35.


Log in to reply