I seem to be having an issue where the bed will heat up initially, but then wont turn back on to maintain the bed temp. I have tried to look into the log file, but frankly I only started printing back in march and I think I’ve hit the point where more knowledge than I can find is needed. If there is a topic already covering this, I’m all ears. Thanks
A lot of those macros are from the base klipper config that i grabbed, which was a premade config for my printer. A few are from the recommended setup of other parts.
That being said, that is a good perspective. I may just take some time to go through the macros and make sure i know all of what they are doing. Would you know any good resources to look at that list gcode that klipper can/can’t read? Thanks man.
Sorry for the late reply, i was away from my printer for a while.
After staring at it for longer than is probably healthy, all i can come up with is to replace the SET_HEATER_TEMPERATURE with M190. Do you thing that will change anything?
Here is the start code:
[gcode_macro START_PRINT]
# put the following in the Cura start code and remove everything else:
# start_print HOTEND_TEMP={material_print_temperature_layer_0} BED_TEMP={material_bed_temperature_layer_0}
gcode:
{% set toolTemp = params.HOTEND_TEMP|int %}
{% set bedTemp = params.BED_TEMP|int %}
SET_GCODE_OFFSET Z=0
{% if toolTemp >= 221 %}
SET_GCODE_OFFSET Z=0.03
{% endif %}
SET_HEATER_TEMPERATURE HEATER=heater_bed TARGET={bedTemp}
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=150
M82 # absolute extrusion mode
M220 S100 # Reset Feedrate
M221 S100 # Reset Flowrate
SET_VELOCITY_LIMIT VELOCITY=200 ACCEL=1000 ACCEL_TO_DECEL=500 SQUARE_CORNER_VELOCITY=5
#home all axis and leave printhead in center of the bed for quick Z homing once the bed is 15 degrees below its target
G28
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=150
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={bedTemp -15} # wait for bed to be over 50
TEMPERATURE_WAIT SENSOR=extruder MINIMUM=140
SET_HEATER_TEMPERATURE HEATER=extruder TARGET=0
G28 Z # home all axes
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={toolTemp -70}
#move to the side, wait untill the bed is within 10 deg from target heat the hotend
G90
G0 Z20
G0 X0 Y0
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={bedTemp - 10}
SET_HEATER_TEMPERATURE HEATER=extruder TARGET={toolTemp}
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={toolTemp - 1} #start printing 1 deg before reaching setpoint
# And we can now draw our purge line
G92 E0 #Reset Extruder
G1 Z2.0 F3000 #Move Z Axis up
G1 X0 Y20 Z0.28 #Move to start position
G1 X0 Y200.0 Z0.28 E15 #Draw the first line
G1 X0 Y200.0 Z0.28 #Move to side a little
G1 X0.5 Y20 Z0.28 E30 #Draw the second line
G92 E0 #Reset Extruder
G1 Z2.0 F3000 #Move Z Axis up
Done, although I think I found the issue. I had old custom gcode in cura, probably because I updated cura in the middle of my klipper foray and put the klipper start code into the old version of cura accidentally.
Update: that was exactly the problem, Cura was using old start gcode. thanks all for the help, especially the one that suggested keeping it simple