wait for...
-
Thanks!
I now have following in my start
M104 S[first_layer_temperature] ; set extruder temp M140 S[first_layer_bed_temperature] ; set bed temp M190 S[first_layer_bed_temperature] ; wait for bed temp M109 S[first_layer_temperature] ; wait for extruder temp
-
This post is deleted! -
@Herve_Smith
Yes
-
@Herve_Smith They are prusaslicer variables or as they call them placeholders.
-
This post is deleted! -
This post is deleted! -
@Herve_Smith The syntax is described here
-
@tecno said in wait for...:
How do I setup following start gcode in slicer Prusa or Superslicer.
Have start to read temperature settings from gcodefile for bed and hotend and wait for temperatures to reach set values?
To wait for all temperatures to reach set values, use M116.
-
So is this then correct?
M104 S[first_layer_temperature] ; set extruder temp M140 S[first_layer_bed_temperature] ; set bed temp M190 S[first_layer_bed_temperature] ; wait for bed temp M109 S[first_layer_temperature] ; wait for extruder temp M116
How about chamber temp if I want it to reach xC before start print?
-
@tecno there are multiple ways of doing it. M104, M140 and M141 set the hot end, bed and chamber temperatures respectively without waiting for them to reach temperature before proceeding to the next command. So they will all heat concurrently. Then you can use M116 to wait for them all to be reached:
M104 S225 ; set extruder temp M140 S70 ; set bed temp M141 S60 ; set chamber temp M116 ; wait for all temps to be reached
Or if the hot end heats quickly but the bed and chamber heat slowly, you might want to do this instead:
M140 S70 ; set bed temp M141 S60 ; set chamber temp M116 ; wait for bed and chamber temperatures to be reached before heating the hot end M104 S225 ; set extruder temp M116 ; wait for all temps to be reached
You can substitute variables in [ ] for the actual values if the slicer supports that.
Using M104 followed by M109, or M140 followed by M190 is the old (Marlin) way of doing things.