How control 2 fans from a single web interface slider?
-
Morning all,
I have two fans installed through a 3HC extension board, that (thank God) works perfectly
As I created two fans in two different connections the web interface shows two controls (obvious).
My doubt is if there is any way to name these two fans as one to have a single control in the web interface.
That is my current code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; FANS ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M950 F0 C"1.out6" ;create fan 0 on 1.out6 M106 P0 C"Layer Fan 0" S0 H-1 ;named fan 0, NOT always O, disables thermostatic mode M950 F1 C"1.out7" ;create fan 1 on 1.out7 M106 P1 C"Layer Fan 1" S0 H-1 ;named fan 1, NOT always O, disables thermostatic mode
and I'm thinking in something like:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;; FANS ;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; M950 F0 C"1.out6+1.out7" ;create fan 0 on 1.out6 and 1.out7 M106 P0 C"Layer Fan 0" S0 H-1 ;named fan 0, NOT always O, disables thermostatic mode
Its possible to do something like that?
-
@nachogil I don't think that's going to work. The second port can only be used for the fan tacho. See https://docs.duet3d.com/User_manual/Connecting_hardware/Fans_connecting#configuring-fans
When using M950 to create a fan, the port name string may be either a single port, or two ports separated by the '+' sign. The second port is used to read the fan tacho.
If they are going to be controlled by Gcode, you can bind them to a tool, eg
M563 P0 D0 H1 F0:2
, then the 'tool fan' in DWC will control both, and can be controlled with M106 when the tool is selected. This won't work if they are supposed to work independently of the tool, though.Or, you could also simply wire the fans in parallel, assuming they don't draw too much current.
Ian
-
@droftarts Done!! Thaks a lot!!