Problem gcode_macro print_start

Basic Information:

Printer Model: Artillery X1
MCU / Printerboard:
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


good afternoon, I am trying to start klipper on my artillery x1 using a BIGTREETECH PAD. I have the following problem that I cannot solve.
Option ‘{ set bed_temp’ is not valid in section ‘gcode_macro print_start’

[gcode_macro PRINT_START]
{% set BED_TEMP = params.BED_TEMP|default(60)|float %}
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(200)|float %}

Can you help me please?

You need to post your log as instructed.

3 Likes

Some sneppets from my MMU GCode as example …


[gcode_macro USE_MMU]
gcode:
	SET_GCODE_VARIABLE MACRO=VAR_MMU2S VARIABLE=mmu_enabled VALUE={params.VALUE}
	
-----------
# park the idler, stop the delayed stop of the heater
[gcode_macro MMU_UNLOCK]
gcode:
   {% if printer["gcode_macro VAR_MMU2S"].is_paused|int != 0 %}
   M118 Unlock MMU
   SET_GCODE_VARIABLE MACRO=VAR_MMU2S VARIABLE=is_paused VALUE=0
   HOME_IDLER
   {% else %}
   M118 MMU not locked
   {% endif %}
1 Like

Could you please put your code between code bracers? Without it is of no use at all.

Format

2 Likes