Page 1 of 1

[ALREADY ADDED] Add fan number to per-layer fan controls

Posted: Sun Jan 15, 2017 12:52 am
by HomerJay
In the "Per-Layer Fan Controls" group, it would be great to be able to specify a fan number when adding a setpoint. The interface change could be an additional number picker for "Fan number" which defaults to 0 and an additional column in the list of setpoints to the left.

Currently, I have a fan set to turn on when layer 3 is reached. In this case, it's a layer fan that I want to turn on. Because the G-code created from this setpoint is "M106 P0 S255", only the first fan is turned on. Well, not really as P0 is my extruder fan so it's always on. Editing the "P0" to "P1" is the only change I'm making before printing a file so that the layer fan turns on for layer 3.

Thanks!

Re: Add fan number parameter to per-layer fan controls

Posted: Sun Jan 15, 2017 9:47 am
by brian442
Can't you already adjust the commands that are sent by going to Tools > Firmware Configuration? The set fan speed command is on the FFF tab, so you could make it say "M106 P1 S$" if you want. Then you don't need to do any manual editing.

Re: Add fan number parameter to per-layer fan controls

Posted: Sun Jan 15, 2017 4:03 pm
by HomerJay
Thanks Brian. Looks like that will accomplish the same thing.

Having spent almost a year with Simplify3D, I've never once ventured into that configuration page.

Now that I look at the G-code description for M106 more closely, I see why (maybe?) the fan number was excluded from the setpoint screen. At least at the time of writing, Marlin ignores all P parameter values above 0 and treat them as 0. Not sure that's still the case. I'm not using Marlin but the much less common Redeem which properly addresses fans by P value for this command.