how can make fan 2 be a fan tool instead of fan 0 in duet 2 wifi
hi how can make fan 2 be a fan tool instead of fan 0 that does not work for me was probably short and the fuse burned I replaced another fuse ifind fuse 15 and now fan 2 and 1 work, and fan 0 does not work for me anymore, I tested it and tried to run fan 0 but it does not work itry M106 P0 S0 I0 H-1 not work, I connected to fan 2 and it works for me and I can control At cooling speed, the problem is that it is not controlled from the slicer how do I make it a fan tool thanks to the helpers
You would bind fan 2 to your tool command.
@Phaedrux Thanks i reading It confused me A little.
How do you write this?
Just add to fan line like that.
M563 P0 F2?
or M563 f2?
Maybe my 0 fan needs resetting that's why he doesn't work after a the fuse Destroyed
Isee some gcode Interesting
M562: Reset temperature fault
There's one for the fan? M562 f0?
Post your current config.g.
You will have an existing M563 in there to define the tool. It tells which heater to use, which extruder drive, and which fans to use.
@Phaedrux Thanks this is my config
M563 P0 S"hotend" D0 H1 F0 ; define tool 0
G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C
Ineed to change it to D0 H1 F2?
jay_s_uk last edited by
Can you post your whole config as theres more to set than just that
@Roei3d What firmware version are you using? Send M115 and post reply.
For RRF2, you use the 'A' parameter in M106 to define which logical pin the fan is connected to. Logical pin numbers for fans are Fan0=20, Fan1=21, Fan2=22 (see https://duet3d.dozuki.com/Wiki/Using_servos_and_controlling_unused_IO_pins#Section_Logical_pin_numbers)
So this will create Fan0 using Fan2 output:
M106 P0 A22 S0 I0 H-1 M106 P1 S0 I0 H45
In RRF3, you define the fan0 on the fan2 pin with M950 first:
M950 F0 C"fan2" Q500 ; create fan 0 on pin fan2 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
You don't need to bind any fan to your tool (if you only have one tool) as fan 1 is thermostatically controlled anyway. Fan0 doesn't have to be bound to the the tool either; it just controlled from the slicer with
M106 S[0-255]commands. So tool definition can just be:
M563 P0 S"hotend" D0 H1 ; define tool 0
@jay_s_uk this is my all config
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Ender 3 Pro BLV" ; set printer name M918 P1 E4 F2000000 ; configure direct-connect display ; Network M551 P"" ; set password M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E411 ; set steps per mm M566 X500.00 Y500.00 Z24.00 E3000 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z100.00 E250.00 ; set accelerations (mm/s^2) M906 X700 Y700 Z700 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S10 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X245 Y230 Z240 S0 ; set axis maxima ; Endstops M574 X1 Y1 S1 ; set active high endstops M574 Z1 S2 ; set endstops controlled by probe ; Z-Probe M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds G31 P500 X-40 Y-12 Z1.582 ; set Z probe trigger value, offset and trigger height M557 X20:235 Y20:220 S60 ; define mesh grid ; Heaters M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M305 P0 T100000 B4092 R4700 ; set thermistor + ADC parameters for heater 0 M143 H0 S80 ; set temperature limit for heater 0 to 80C M305 P1 T100000 B4092 R4700 ; set thermistor + ADC parameters for heater 1 M143 H1 S250 ; set temperature limit for heater 1 to 250C ; Fans M106 P0 S0 I0 H-1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P1 S0 I0 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S0.8 I0 F20 H1:0 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Pressure Advance M572 D0 S0.35 ; Miscellaneous M501 ; load saved parameters from non-volatile memory M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
this is my m115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.05.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-02-09b1
@droftarts thnks for the help this do the trick A22 change fan2 to fan 0 thanks',
And another question fan0 has a different mosfet from fan 1-2 ? Could it be that FAN0's mosfet has burned out and the other fan 2 fan1 connections have a different mosfet?