M106 issue - solved
-
According to RRF3
M106: Fan On
ParametersPnnn Fan number (optional, defaults to 0). (In RRF_3 relates to the fan number created by M950, NOT the fan pin number on the board)
Snnn Fan speed (0 to 255 or 0.0 to 1.0))However what i've experienced is that M106 defaults for Tool FAN (which in my case is Fan 1...)
This creates problems with slicers (e.g. Prusa Slicer) which assume the default instead being 0Is this going to be fixed soon ?
Thanks
-
@oc_geek If you are using a fan other fan 0 as your part cooling fan, then you need to map that fan to fan 0 in your tool definition.
So in your case, add "F1" to the end of any of your M563 commands. Then any M106 commands without addition parameters will control fan 1 instead of fan 0.
https://duet3d.dozuki.com/Wiki/Gcode#Section_M563_Define_or_remove_a_tool
-
EDIT : understood my mistake
in RRF "tool" is the "part cooling fan"...
my understanding was "tool" was the hotend cooler... i got the two swappedthanks
this is my config and F0 is work fan (part) and F1 is the Hotend (Tool)
"Then any M106 commands without addition parameters will control fan 1 instead of fan 0." that would be my expectation too...but it's not.
Unless "tool" is the actual "part cooling fan" in which case i shall use F0 there...
; -- Work cooling FAN 0 --
; Configure fan 0
; Manual control (H-1)
M950 F0 C"out3" Q25
M106 P0 S0 H-1 C"Blower Fan"; -- Hot End FAN 1 --
; Hnn Thermostatic control is turned on, sensor #1 (HotEnd over 50 degrees)
; Qnn PWM frequency in Hz. Valid range: 0-65535
M950 F1 C"out4" Q250
M106 P1 S200 H1 T50 C"HotEnd Fan" ; set hot-end fan at 200/255 rate (noise..); ==================================
; TOOLS
; ==================================M563 P0 D0 H1 F1 ; Define tool 0 using fan 1 for M106, Heater H1 is hotend
; P tool number#
; D extruder drive# - Drive 0 is the first drive in the machine after the movement drives (usually X, Y and Z)
; H Heater#
; F Fan#; G10 Tool offset and temperatures
G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C -
@oc_geek It can be confusing. One way to think about it is that thermostatic fans are generally assigned to heaters rather than tools. (More correctly, they are assigned to temperature sensors). But heaters get assigned to tools. So when a tool heats up and it's associated heater turns on, then the fan comes on by association at whatever temperature you have set. Conversely, non-thermostatic fans are the ones that you can control using the sliders or send M106 Sn commands, and these are the ones that we assign to tools in order to cool the part being printed.
-
@deckingman yep now i understood the working logic behind, thanks
i got confused by the "tool" thing -
@oc_geek said in M106 issue - solved:
i got confused by the "tool" thing
Wait 'till you start using a mixing hot end with 6 extruders and 9 tools defined. Then you'll really know how what confusion feels like