Clean_nozzle macro takes the current print speed,

Hi, I have the following problem, I am calling the macro (clean_nozzle), from (gcode_macro RESUME), to do a cleanup when resuming the print, in general it works fine, the only problem is that the macro takes the current print speed, and not its own speed set in the macro (clean_nozzle), for example if I pause and then resume on the first layer, the movements of (clean_nozzle), will have the speed of the first layer.
What I want is that the macro (clean_nozzle), uses its own speed, when I call it from RESUME .

[gcode_macro clean_nozzle]
gcode:
  {% set wipe_count = 8 %}
  SAVE_GCODE_STATE NAME=clean_nozzle_state
  G90
  G0 Z15 F300
  {% for wipe in range(wipe_count) %}
    {% for coordinate in [(247, 214),(235, 214)] %}
      G0 X{coordinate[0]} Y{coordinate[1] + 0.25 * wipe} Z9.7 F9000  # F12000  valor default
    {% endfor %}
  {% endfor %}
  RESTORE_GCODE_STATE NAME=clean_nozzle_state

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.