Fan PWN V_IN voltage all the time, acting like Always On pins
-
Hello Hive Mind.
I'm having some trouble with the Fan PWM pins acting like Always On Fan pins. All of my pins (Fan0, Fan1, and Fan2) have 24vdc on them. My UI on WebControl only displays "Tool Fan" under miscellaneous but will not control any of those pins but will not display the other fans. I'm kind of lost here trying to figure out how to get these pins to work as intended and/or adding sliders on UI for these fans. Any ideas?
Duet Wifi on Workbee CNC machine.
Thanks.
-
could be wired wrong, configured wrong or the fan output fets could have failed. (common failure mode for these fets is a short from drain to source resulting in a always on situation).
please share your config, and show the wiring?
-
@perseveranze said in Fan PWN V_IN voltage all the time, acting like Always On pins:
All of my pins (Fan0, Fan1, and Fan2) have 24vdc on them
that is because on the duet the pwm signal is on the ground pin rather than on the voltage pin.
-
@veti That solves half of my issues. Why can I not control Fan0, Fan1, or Fan2 speed on the UI? Is there something I need to configure in firmware to get them to populate on WebControl?
-
As requested, please post your config.g, so we can assist you.
P. -
@perseveranze DWC will only display fans that have not been configured as thermostatically controlled fans. Still as others said: please post your
config.g
. -
; Configuration file for Duet WiFi (firmware version 1.20 or newer)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Mon Mar 12 2018 16:19:25 GMT+0000 (GMT Standard Time); General preferences
G90 ; Sent absolute coordinates; Network
M550 PWorkBee CNC Machine ; Set machine name
M552 S1 ; Enable network
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S0 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M584 X0 Y1:3 Z2 ; Apply custom drive mapping
M92 X400 Y400 Z400 ; Set steps per mm
M350 X16 Y16 Z16 I1 ; Configure microstepping with interpolation
M566 X500 Y500 Z500 ; Set maximum instantaneous speed changes (mm/min)
M203 X2500 Y2500 Z2500 ; Set maximum speeds (mm/min)
M201 X150 Y150 Z150 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 I60 ; Set motor currents (mA); Axis Limits
M208 X0 Y0 Z0 S1 ; Set axis minima
M208 X800 Y770 Z94 S0 ; Set axis maxima; Endstops
M574 X2 Y2 Z2 S1 ; Set active low endstops; Tools
; Custom settings
M564 H0 ; Enable jog commands when not homed
M140 H-1 ; Disable heated bed
M501 ; Load Stored Parameters
M563 P1 S"XYZ-Probe" ; Define XYZ Touch Probe Tool -
@perseveranze If that's the content of the complete file then you just have no fans configured to at all. You need to configure them via
M106
, e.g.M106 P0 S0 I0 F10 H-1 C"Part Cooling Fan" ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I1 F25000 L0.7 H1 T45:220 C"Hotend Fan" ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S0 I1 F25000 H-1 C"Hardware Fan" ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off
-
@perseveranze said in Fan PWN V_IN voltage all the time, acting like Always On pins:
M584 X0 Y1:3 Z2 ; Apply custom drive mapping
Please reread the documentation of M584. You are missing drive assignment for e
-
@veti said in Fan PWN V_IN voltage all the time, acting like Always On pins:
@perseveranze said in Fan PWN V_IN voltage all the time, acting like Always On pins:
M584 X0 Y1:3 Z2 ; Apply custom drive mapping
Please reread the documentation of M584. You are missing drive assignment for e
This is for a CNC machine, I don't have an E drive, just X Y Z.
-
https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping
VERY IMPORTANT! Assigning a drive using M584 does not remove its old assignment. Therefore, if you assign a drive that defaults to being an extruder drive, you should also assign the extruder drives explicitly as in the above example. Failure to do so may result in unexpected behaviour.
you are not unassigning the Y from the extruder. this will cause strange behaviour.