Notifications
Clear all

Does PRUSA firmware support cinditinal speed M220 ?  

  RSS
julian.s10
(@julian-s10)
Member
Does PRUSA firmware support cinditinal speed M220 ?

I am trying to set up conditional speed for speed factor as I do it for flow (it's working for flow). The example which I use for speed factor: 

M220 S{if layer_height<=0.200}25{else}75{endif} ; speed factor

After printing the first layer which is 0.2mm height, speed remains 25%.

Is it supported? 

Posted : 22/06/2019 10:57 am
vintagepc
(@vintagepc)
Member
RE: Does PRUSA firmware support cinditinal speed M220 ?

You want layer_z, not layer_height if you only want the first layer slow. Right now you're changing based on the slicing setting, e.g 0.15/0.20 mm layers.

The GCode does work, I used it to produce a simple "speed" tower to test for ringing and surface finish at different speed percentages.

Posted : 22/06/2019 12:19 pm
julian.s10
(@julian-s10)
Member
Topic starter answered:
RE: Does PRUSA firmware support cinditinal speed M220 ?

Thank you for reply, during last hour of tries I noticed the "{if layer_z <= 0.21}M220 S25{else}M220 S75{endif} ; speed factor" in "Before layer change G-code" works perfectly 🙂 Also it seems "layer_z" variable is available only after processing "Start G-code". It would be good to have some documentation describing what those textareas in Slicer exactly mean. Do you know where I can find such description? 

Posted : 22/06/2019 12:26 pm
vintagepc
(@vintagepc)
Member
RE: Does PRUSA firmware support cinditinal speed M220 ?

I do not, sorry. There may be documentation somewhere but it can likely be found out by studying the code on github. 

Posted : 22/06/2019 12:32 pm
--
 --
(@)
Illustrious Member
RE: Does PRUSA firmware support cinditinal speed M220 ?

Search the web,  I came across a Slic3r manual somewhere: Slic3r.org maybe?

Posted : 22/06/2019 6:06 pm
Share: