When in filament setting I set for example 40º degrees (check image) but when I press print it goes up until 65º then I’ve to wait until comes down to 40º, where can I change this initial value of 65º?
Hello,
I recommend taking a look at the start G-code to see if there’s a command to heat to 65 °C.
Maybe you have to check the “START PRINT” macro.
and where is that :)? i’ve 2.3.2 orcaslicer
update:
at Device i’m checking macro.cfg file
I’m not an expert on Klipper, but I assume that this macro, which appears in the list, runs every time you start a print job.
I found a M140 S65…which i think it’s what I’m looking for…I’m doing a flow rate test…but after I’ll change this value just to test if it’s related to the initial temp set on when pressing print
One pitfall of Klipper is the fight between the “start_print” macro and the start g-code in your slicer software. Marlin firmware pretty much forces you to edit start g-code in your slicer. Old school users still think that way. Those users prefer to keep the macro simple and put everything in the slicer start g-code. Other users feel it is better to put everything in the macro. Most setups have some settings in both places.
Debugging requires examining both and check for duplicates or conflicting settings.
so many updates and yet so many problems.. ![]()
I tried to change de M140 S65…to M140 S50 in the Macro.cfg but when I press print it goes to 65º…
the “start_print” macro file where can I find it?
It is in macro.cfg (line 252)
[gcode_macro START_PRINT]
description:
variable_state: 'Prepare'
variable_record_extruder_temp:0
variable_max_record_extruder_temp:0
gcode:
{% set mesh_name = "default" %}
{% set mesh_calibrate_temp = printer['gcode_macro _global_var'].bed_mesh_calibrate_target_temp|int %}
{% set extruder_target_temp = printer.extruder.target|int %}
{% set bed_targer_temp = printer.heater_bed.target|int %}
M400
CLEAR_PAUSE
G90
{% if state == 'Prepare' %}
{action_respond_info("Prepare!")}
{% if printer.toolhead.homed_axes|lower != "xyz" %}
G28
{% endif %}
{% if printer['filament_switch_sensor filament_sensor'].enable == True and
printer['filament_switch_sensor filament_sensor'].filament_detected != True
%}
M117 No filament!!!
{action_respond_info("Please Insert filament in Sensor!")}
CANCEL_PRINT
{% endif %}
{action_respond_info("Check Heating!")}
M140 S{bed_targer_temp}
M104 S{extruder_target_temp}
{% if printer.heater_bed.temperature < bed_targer_temp %}
M117 Bed heating...
{action_respond_info("Bed heating...")}
M190 S{bed_targer_temp}
{% endif %}
{% if printer.extruder.temperature < extruder_target_temp %}
M117 Nozzle heating...
{action_respond_info("Nozzle heating...")}
M109 S{extruder_target_temp}
{% endif %}
{% if printer.quad_gantry_level.applied|lower != 'true' %}
QUAD_GANTRY_LEVEL
{% endif %}
BED_MESH_CALIBRATE ADAPTIVE=1
SET_GCODE_VARIABLE MACRO=START_PRINT VARIABLE=state VALUE='"Start"'
UPDATE_DELAYED_GCODE ID=_print_start_wait DURATION=0.5
{% elif state == 'Start' %}
M117 Printing now!!!
{action_respond_info("Start!")}
{% endif %}
It has no hard coded temperature. It reads the bed temperature from the header of the gcode
file.
Open a gcode file from Orca in a text editor, delete lines 501-999999, save and upload here.
to make things clear, I’ve to delete all the code from line 252 until the last line? from the file macro.cfg
No. I posted it so you could see the temperatures are variables.
I need to see the first 500 lines of a g-code file from your slicer to see where the 65 °C bed temperature is being picked up by the macro.
macro_cfg.txt (15.9 KB)
The first 534 lines…
I didn’t make myself clear. The file I need to see is the output from OrcaSlicer.
Open Orca
Select your “normal” filament and process
Right click on the build plate
[add primitive]>[cube]
Slice plate
[File]>[export]>[gcode]
Upload the gcode here
Cube_PLA_0.2_20m15s.gcode (651.6 KB)
I do not see a hard coded bed temperature anywhere. BUT the bed temperature you have set for PLA is 65 °C.
Redo the g-code file but select the TPU seen in your OP.
Cube_TPU_0.2_52m9s.gcode (652.4 KB)
If you print that g-code does the bed go to 65 °C? I don’t see anything in the code that has a bed temperature other than 40.

