temp controlled Fans on Duet3 6HC driving me crazy
-
Hi i have a Duet 3 6HC with a distribution board an two Toolboards (1LC).
At the moment i have layed the hardware out on the Table connectec together without an printer attachet.
I wanted to programm the board in forefront to save some hassle.I ran into some issues. When i try to control the fans for the electronics compartment and the coldends with thermostatic control enabled.
They all stay on all the time or doesnt want to run at all.I lowered the threshold of the Temperature to around 15°C when the tempreture probe showed 20°C but the fans wouldnt turn on.
For the coldend fans i use 40x40x10mm Noctua 3-wire Fans connected to the toolboard on out 2 (Both board have a uniqe CAN adress 121 and 122). For the Compartment i am runnung 60x60x20 Noctua 3-wire Fans connected to the connections out4 - out6.
What did i do wrong? I think i messed up some programming or wirering.
Here is my Config.g: config (4).g
On the Toolboard the fans are wired like this: black -> out2, red -> +12V, yellow -> out2.tach
On the 6HC they are wired like this: black -> GND, red -> V_OUTLC1, yellow -> out6.tachAn i have a nother question the toolboard isn't tranfering the tacho signal thru. on all the other Fans that is the case and they are shown in the DWC.
Any suggestions?Thanks fo the Help.
-
Hi,
I re-posted your config file using the </> tag so folks don't have to download the file to look at it.
Consider using the </> tag in the future.
; Configuration file for Duet 3 (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Mar 12 2021 17:14:12 GMT+0100 (Mitteleuropäische Normalzeit) ; General preferences G4 S1 G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"ToolChanger" ; set printer name M669 K1 ; select CoreXY mode ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 ; physical drive 0.0 goes forwards Drive 0 X M569 P0.1 S1 ; physical drive 0.1 goes forwards Drive 1 Y M569 P0.2 S1 ; physical drive 0.2 goes forwards Drive 2 Z M569 P121.0 S0 ; physical drive 121.0 goes forwards Drive Toolboard 121 E0 M569 P122.0 S0 ; physical drive 122.0 goes forwards Drive Toolboard 120 E1 M569 P0.3 S0 ; physical drive 0.3 goes forwards Drive 3 E2 M569 P0.4 S0 ; physical drive 0.4 goes forwards Drive 4 E3 M569 P0.5 S1 ; physical drive 0.5 goes forwards Drive 5 Coupler M584 X0.0 Y0.1 Z0.2 C0.5 E121.0:122.0:0.3:0.4 ; set drive mapping M350 C8 I0 ; configure microstepping without interpolation M350 X16 Y16 Z16 E16:16:16:16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z1600.00 C100 E393.25:393.20:393.20:393.20 ; set steps per mm M566 X400 Y400 Z8.00 C2 E40:40:40:40:6.00 ; set maximum instantaneous speed changes (mm/min) M203 X35000 Y35000 Z1200 C5000 E6000:6000:6000:6000 ; set maximum speeds (mm/min) M201 X6000.00 Y6000.00 Z400.00 C400 E2500.00:2500.00:2500.00:2500.00 ; set accelerations (mm/s^2) M906 X2000 Y2000 Z1330 C400 E1000:1000:1000:1000 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S120 ; Set idle timeout ;Stall Detection M915 C S5 F0 H200 ; Coupler ;Stall Detection M915 X Y S5 F0 H400 ; X / Y Axes ; Axis Limits M208 X-56.5 Y-57.5 Z-6 C0 S1 ; set axis minima M208 X359 Y360 Z308 C260 S0 ; set axis maxima ; Endstops M574 X1 S3 ; configure sensorless endstop for low end on X M574 Y1 S3 ; configure sensorless endstop for low end on Y M574 Z1 S2 ; configure active-high endstop for low end on Z via pin io2.in ; Z-Probe M558 P1 R0.4 C"io3.in" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height M557 X5:295 Y5:295 S40 ; define mesh grid ; Heaters ;Bed M308 S0 P"temp0" Y"pt1000" ; configure sensor 0 as PT1000 on pin temp0 M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S125 ; set temperature limit for heater 0 to 125C ;Extruder 0 M308 S1 P"121.temp0" Y"pt1000" ; configure sensor 1 as PT1000 on pin 121.temp0 M950 H1 C"121.out0" T1 ; create nozzle heater output on 121.out0 and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S350 ; set temperature limit for heater 1 to 350C ;Extruder 1 M308 S2 P"122.temp0" Y"pt1000" ; configure sensor 2 as PT1000 on pin 122.temp0 M950 H2 C"122.out0" T2 ; create nozzle heater output on 122.out0 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H2 S350 ; set temperature limit for heater 2 to 350C ;Extruder 2 M308 S3 P"spi.cs0" Y"rtd-max31865" ; configure sensor 3 as thermocouple via CS pin spi.cs0 M950 H3 C"out1" T3 ; create nozzle heater output on out1 and map it to sensor 3 M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H3 S350 ; set temperature limit for heater 3 to 350C ;Extruder 3 M308 S4 P"spi.cs1" Y"rtd-max31865" ; configure sensor 4 as thermocouple via CS pin spi.cs1 M950 H4 C"out2" T4 ; create nozzle heater output on out2 and map it to sensor 4 M307 H4 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H4 S350 ; set temperature limit for heater 4 to 350C ; Fans M950 F0 C"121.out2+121.out2.tach" Q25000 ; create fan 0 on pin 121.out1 and set its frequency M106 P0 C"Tool 1 Lüfter" S1 H1 T45 ; set fan 0 name and value. Thermostatic control is turned on M950 F1 C"122.out2+122.out2.tach" Q25000 ; create fan 1 on pin 121.out2 and set its frequency M106 P1 C"Tool 2 Lüfter" S1 H2 T45 ; set fan 1 name and value. Thermostatic control is turned on M950 F2 C"out7" Q25000 ; create fan 2 on pin out7 and set its frequency M106 P2 C"Bauteilkühlung 1" S0 H-1 ; set fan 2 name and value. Thermostatic control is turned off M950 F3 C"out8" Q25000 ; create fan 3 on pin out8 and set its frequency M106 P3 C"Bauteilkühlung 2" S0 H-1 ; set fan 3 name and value. Thermostatic control is turned off M950 F4 C"out9" Q25000 ; create fan 4 on pin out9 and set its frequency M106 P4 C"Tool 3 Lüfter" S1 H3 T45 ; set fan 4 name and value. Thermostatic control is turned on M950 F5 C"out4+out4.tach" Q25000 ; create fan 5 on pin out4 and set its frequency M106 P5 C"Tool 4 Lüfter" S1 H4 T45 ; set fan 5 name and value. Thermostatic control is turned on M950 F6 C"out5+out5.tach" Q25000 ; create fan 5 on pin out5 and set its frequency M106 P6 C"Boardkühlung 1" S1 H1:2:3:4 T45 ; set fan 6 name and value. Thermostatic control is turned on M950 F7 C"out6+out6.tach" Q25000 ; create fan 6 on pin out6 and set its frequency M106 P7 C"Gehäusekühlung" S1 H1:2:3:4 T45 ; set fan 7 name and value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0:2:3 ; 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 M563 P1 D1 H2 F0:2:3 ; define tool 1 G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C M563 P2 D2 H3 F0:2:3 ; define tool 2 G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C M563 P3 D3 H4 F0:2:3 ; define tool 3 G10 P3 X0 Y0 Z0 ; set tool 3 axis offsets G10 P3 R0 S0 ; set initial tool 3 active and standby temperatures to 0C ; Custom settings M593 F50 ; cancel ringing at 50Hz (https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/) M376 H15 ; bed compensation taper ;tool offsets ; !ESTIMATED! offsets for: ; V6-tool: X-9 Y39 Z-5 ; Volcano-tool: X-9 Y39 Z-13.5 ; Hemera-tool: X-37.5 Y43.5 Z-6 G10 P0 X19.8 Y58 Z-4.65 ; T0 G10 P1 X18.8 Y58 Z-4.65 ; T1 G10 P2 X-9 Y39 Z-4.65 ; T2 G10 P3 X-9 Y39 Z-4.65 ; T3 ;deselect tools T-1 ;M572 D0 S0.2 ; pressure advance T0 ;M572 D1 S0.2 ; pressure advance T1 ;M572 D2 S0.2 ; pressure advance T2 ;M572 D3 S0.2 ; pressure advance T3 ; Heater model parameters M307 H0 A352.1 C2144.4 D3.4 S1.00 V24.2 B0 M307 H1 A622.5 C289.6 D4.1 S1.00 V23.8 B0 M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0 ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue M501 ; load saved parameters from non-volatile memory M911 S20 R23 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss T-1 ; select first tool
-
@S1lencer said in temp controlled Fans on Duet3 6HC driving me crazy:
On the 6HC they are wired like this: black -> GND, red -> V_OUTLC1, yellow -> out6.tach
Wired that way they will be on as long as there is power.
If you wish to control them change to: black -> out6
From the DWC console please execute M98 P"config.g" and report to us any warnings or errors that may appear on the console.
The Q parameter of 25000 is greater than I normally use. Have you tried something like 2500?
Frederick
-
If you wish to control them change to: black -> out6
ok will try that, but thats wiered becouse all 3-Pin headers on the normal PC-fans will only fit like that so i have to unpin them is that right?
From the DWC console please execute M98 P"config.g" and report to us any warnings or errors that may appear on the console.
M98 P"config.g" HTTP is enabled on port 80 FTP is disabled TELNET is disabled Error: in file macro line 35 column 38: M566: array too long, max length = 4 Error: Unknown pin name '121.out2.tach' Error: Fan number 0 not found Error: Unknown pin name '122.out2.tach' Error: Fan number 1 not found Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 377C Warning: Heater 1 appears to be over-powered. If left on at full power, its temperature is predicted to reach 647C Warning: Macro file config-override.g not found
looks like there are some errors in it will investigate that
The Q parameter of 25000 is greater than I normally use. Have you tried something like 2500?
also tryed 500 which is the standard value, only switched it to 25000 because i thought pc fans have a PWM frequency of 25000Hz
Thanks
Kai -
Ok i think i got it to work.
The toolboard are not working flawlessley.That was because of the line:
M950 F0 C"121.out2+121.out2.tach" Q25000 ; create fan 0 on pin 121.out1 and set its frequency M106 P0 C"Tool 1 Lüfter" S1 H1 T45
wich needed to look like this:
M950 F0 C"121.out2+out2.tach" Q25000 ; create fan 0 on pin 121.out1 and set its frequency M106 P0 C"Tool 1 Lüfter" S1 H1 T45
Now i wil try to repin from 3 to 4 pin Socket on the Board-Fans to look if i can solve that problem there too.
edit on:
Jep that pinning helped thx very much for the Info.
edit off.
-
Glad to hear you got it sorted.
Frederick