I would like to create a macro START_PRINT that heats nozzle and bed at the same time.
I replaces the start gcode in Cura with PRINT_START
The Macro looks like this:
[gcode_macro PRINT_START]
gcode:
{% set BED_TEMP = params.BED_TEMP|default(30)|float %}
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(150)|float %}
# Home the printer
G28
# Start bed heating
M140 S{BED_TEMP}
M104 S{EXTRUDER_TEMP}
M190 S{BED_TEMP}
M109 S{EXTRUDER_TEMP}
# Use absolute coordinates
G90
# Move the nozzle near the bed
G1 Z5 F3000
# Move the nozzle very close to the bed
G1 Z0.15 F300
But what ever I do with heating commands, always the bed is heated first.
I either end up with parse errors. Also I doesn’t execute G28 first. I want it to home before heating. At the moment it is the other way arround.
When I change the nozzle or bed temp in cura these temps are used while printer, so klipper is overlooking the default temps.
I am out of ideas. Also the klippy.log is not updating for some reason.
I installed klipper using the raspberry imager tool.
klippy.log (2.2 MB)
I added the klippy.log I had to press the refresh button apparently.
I commented out M190, still does not heat the bed and nozzle at the same time. Starts with the bed first.
Well, to do this I at first did not read the docs, lazy as I am I watched a youtube video on how to do this, from CHEP. Not realizing this was an old video.
Next I had a look at the sample macro.cfg. It mentioned that I need to add START_PRINT I my slicer. However… I read the docs more closely and than realised, it is never that easy. I had to add more information to my slicer, which is exactly not what I expected.
This line did the trick: PRINT_START BED_TEMP={material_bed_temperature_layer_0} EXTRUDER_TEMP={material_print_temperature_layer_0}
Thanks for pointing me to the docs
Ow, and I have to add, that I do own a Sonicpad, for some reason that does work different, because I have a completely different startcode in cura. This code threw a parse error in klipper. So my confusion was complete.