Macro to change M220 automatically

Basic Information:

Printer Model: Vcore3.1
MCU / Printerboard:Octopus Pro
klippy.log - Not relevant

Describe your issue:

Hi,

Not sure if this is the subforum more relevant… if no, tell me where i must post…,

I have made some modifications in the printer… and I want to see how far I can go, I look for the highest speed at which I can print, and that the loss of quality is acceptable…

Other times I have done this by changing the speed factor override percentage (M220) through the web interface… but it forces me to change it manually every X time…

I think I could change it in the slicer, putting a custom Gcode when I change layers… but I want to go one step further. What is it that I would like, and you tell me which parts are possible and which are not.

“A macro that will execute manually (I only want this for some print jobs), that from layer 0 to layer 10% (of the total), will print at a percentage (for example 50% of the speed), that of 10% at 20%, it will increase in speed (for example 75%), and so progressively, that each 10% printed will increase in speed…”

A second question is if the M220 gcode has any limit, for the Fluidd web interface the limit is 200%. But if it is sent through the console…

Can that limit be raised?
Is there a cap?

Thx

  • Raise your max_velocity limit in the printer.cfg, otherwise you will be limited by this
  • Use layer height modifiers in the slicer you are using to create your test print
  • Note that max_accel is equally important if not more important than velocity. High velocities can only be reached after end of acceleration and you typically reach this only on long straight lines.
    • Example: With an acceleration of 3000 and a desired speed of 150 mm/s, you will need almost 4 mm before you reach this target speed and another 4 mm for “breaking” should a hard turn follow this movement → This means on a 10 mm straight line you will print 2mm with 150 mm/s

No need for a macro

1 Like