Notifications
Clear all

Changing extruder temps in Gcode does not stick  

  RSS
balloon
(@balloon-2)
Active Member
Changing extruder temps in Gcode does not stick

So I have gcode in the prusaslicer (before layer change gcode section) that I used for years that changes the temps of the extruders on a layer. The gcode in the file shows the undated temps  by me but then the wipe happens and the extruder temps are reset back to default values. See attached gcode. I am using prusaslicer 2.7.1 on a XL printer.  Thanks for any help.

M107
 M104 T0 S245     ; added by me in the gcode section of the printer settings
 M104 T1 S245      ; added by me in the gcode section of the printer settings
 M104 T2 S245     ; added by me in the gcode section of the printer settings

; M104 T4 S235      ; added by me in the gcode section of the printer settings
P0 S1 L2 D0
M104 T0 P37 S230
G1 Z100
M601
G4 P100
G1 2.4
M73 P24 R36
T2 S1 L0 D0
M220 S50


G1 E-1.6 F2100
;WIPE_START
G1 F7680
G1 X194.854 Y195.754 E-.37039
G1 X194.815 Y195.766 E-.0106
G1 X194.745 Y195.788 E-.01901
;WIPE_END
M104 T0 P28 S230                                ;added by prusaslicer
M104 T1 P96 S230                                 ;added by prusaslicer
G1 X194.745 Y195.788 Z2.1 F9600
G1 X191.63 Y194.962 Z2.156
G1 X186.23 Y193.532 Z2.244
G1 X180.831 Y192.101 Z2.312
G1 X175.432 Y190.67 Z2.361
G1 X164.633 Y187.809 Z2.4
G1 X147.562 Y183.285 Z2.4
;AFTER_LAYER_CHANGE
Publié : 25/03/2024 5:40 am
balloon
(@balloon-2)
Active Member
Topic starter answered:
RE: Changing extruder temps in Gcode does not stick

Additional Info.

This issue of having multiple extra M104 commands occur when they are not required is triggered by having more than one extruder. If one extruder is used no extra M104 commands appear in the gcode file. Once more extruders are choosen then multiple extra M104 commands start to appear even though both extruders have the same temp settings since they both have the same filament/type.

Publié : 25/03/2024 6:33 pm
BaconFase
(@baconfase)
Reputable Member
RE: Changing extruder temps in Gcode does not stick

Maybe it's going over my head, but why are you using custom gcode to set temps instead of just changing the temp in filament settings?

It's been known and complained about since the MMU days that manual changes to temp accomplishes very little because it just gets reset to whatever it was set to when sliced on every filament/tool change.

 

XL-5T, MK3S MMU3 || GUIDE: How to print with multiple-nozzlesizes do read updated replies || PrusaSlicer Fork with multi-nozzlesize freedom || How Feasible is Printing PETG for PLA supports on XL very

Publié : 26/03/2024 5:38 am
J D
 J D
(@j-d-3)
Membre
RE: Changing extruder temps in Gcode does not stick

Yea read about the past complaints, but with my jobs I have to pause the printing to insert items and then when the resume is done I need the printing to be done at a higher temp to make sure of the bonding since the part that is already printed has cooled down a little and the pieces I am adding also cools down the part that is already printed. Also the is an option on the gcode page that if selected the slicer does not inject gcode temp changes if there are gcode temp changes in the user supplied gcode. This option is only being honored when there is one extruder. My feeling is that some of it may revolve around heater timeout of park toolheads since some of the injected temp changes M109 happen on toolchanges (these I can workaround with since they are in the user supply gcode) but there are a number of M104 that appear all the time which I am not sure what triggers them and these are going to require code changes in GCodeProcessor.cpp I suspect since this is where the M104 get injected.

Publié : 26/03/2024 3:35 pm
BaconFase a aimé
Partager :