Switching from Duet Maestro to Duet WIFI
-
@Phaedrux said in Switching from Duet Maestro to Duet WIFI:
M106 P1 S1 H-1
Do I insert that into the config file? I just sent the G code ( which gave me a java script error )
If for some reason that port was bad I can run it from fan F0 or F1 correct?
-
@Stephenbright Are you still using firmware 2.03 beta3? Please send M115 and post response. What DWC version are you using? This is shown in DWC in Settings > General in DWC v2 and v3, and in Settings > Software information in DWC v1.
It's quite possible that wiring two 12V fans together has or will cause a problem, and @Phaedrux has been clear it's not advised, and we do not recommend it. If you choose to do it, it's your responsibility.
M106 P1 S1 H-1
That looks like a perfectly valid Gcode to me, and you should be able to run it from the Gcode console in DWC, or send via a serial terminal if connected by USB. Did you type it into the browser address bar by mistake?
As @Phaedrux suggested, test all the fan connections with a 24V fan to check function. First check the fan works on the 'always on' fan connections, then plug it into fan0, fan1 and fan2. You should turn off power when you disconnect or connect a fan, as if the fan pins are turned on, it may damage the MOSFET. With the 24V fan connected to each fan output, send the following gcode to turn each on:
M106 P0 S1 H-1 ; Fan0
M106 P1 S1 H-1 ; Fan1
M106 P2 S1 H-1 ; Fan2Report back what does, or does not, work. Be aware that some two-wire fans don't work with PWM, though should all work with 100% PWM (ie S1).
I don't see any error in your config.g relating to the fans, and the code for Duet 2 Maestro is the same as for Duet 2 Wifi.
Ian
-
Firmware: 2.05.1 (2020-02-09b1)
DWC: 1.22.1
None of the Mosfets look blown. Again it's a new board and I haven't printed anything as soon as I noticed that the nozzle fans were not on. I realize is can blow quick but with the fuses and the lower voltage fan, I would think the fuse or the fan would blow before anything else...
I had the 5v fans installed and I know those were probably blown due to the jumper not set the same as a Maestro from the factory...
No I did not type the gcode in the address bar...
I have 24v fans coming, but I wanted to make sure they were working so I am trying to work with the 2 - 12v fans. I thought they would at least work so I know the board is set up correctly. Long term yes I will use the 24v fans. I can install them and can report back then as I don't want to do any damage...
Until then I had tried to send the gcode you suggested while the fan was plugged into P2 only. I didn't want to try the other ports until I get the 24v fans **
When I type :
M106 P2 S1 H-1 ; Fan2
I get :
PMM106 P1 S0
PMM106 P0 S0
PMM106 S0Then a JAVA error and DWC disconnects?
Thank you !
-
@Stephenbright said in Switching from Duet Maestro to Duet WIFI:
DWC: 1.22.1
That's a pretty old version of the DWC, and even out of date for DWC v1, so I guess this is a bug in the old version of DWC, as it doesn't do this for me in DWC v1.22.6. On my test rig I have only one fan defined. When I send
M106 P0 S1 H-1 ; Fan0
(the '; Fan0' part is just a comment, and can be removed) in DWC v1.22.6, if the fan is already defined (ie fan 0) it turns the fan on. If I sendM106 P2 S1 H-1 ; Fan2
when I don't have a fan2 (P2) defined, a new fan is created on the Machine Control page (and turned on to 100%). I'd guess that this is what is not working in the old version of DWC, and causing the Java error. Alternatively, configure all fans in your config.g, so they all show at start up.So try updating to 1.22.6 (the last DWC v1 version) by downloading "DuetWebControl-1.22.6.zip" from https://github.com/Duet3D/RepRapFirmware/releases/tag/2.05.1
Then upload the zip file (don't decompress it) by going to Setting > General > File Upload and click on the big blue 'Upload File(s)' button.Is there any reason your are using DWC v1 rather than the newer version? To update to the latest, download "DuetWebControl-SD-3.1.1.zip" from https://github.com/Duet3D/RepRapFirmware/releases/tag/3.1.1 and follow the same process as above. Both versions of DWC can coexist, so you can switch between them. DWC v3.1.1 has a 'Revert to DWC1' link in 'Machine-Specific > Machine-Specific'. To go from DWC1 to DWC3, remove 'reprap.htm' from the end of the IP address of your printer in the browser's address bar.
Ian
-
I didn't realize when I started to reconfigured my machine that I didn't update the DWC. I'll do that.
Also the 24v fans came in today. With my new 24v fans they are currently 2 separate fans, can I run those in parallel and they would both get 24v correct? Basically two fans into one port, red wire to red wire and black wire to black wire? Thoughts?
** The stock nozzle fans were 2 separate 5v fans in parallel into one port so I would guess they were both getting 5v?
Thoughts?
-
Running the fans in parallel is a bit better than running 2 in series. I've done it on occasion, but it does mean the fans may not behave exactly as they would plugged in solo.
In a parallel circuit, the voltage across each of the components is the same, and the total current is the sum of the currents flowing through each component.
So as long as your two fans aren't huge current draws (most fans aren't) you should be ok.
-
@Phaedrux The new fans are rated Voltage:24V 0.06A each for the two fans. It was a poor design on the part of the printer manufacturer to have the dual 5v fans on one port for such a large printer in the first place... I'll update the process soon. Thanks !
-
@Phaedrux said in Switching from Duet Maestro to Duet WIFI:
Running the fans in parallel is a bit better than running 2 in series. I've done it on occasion, but it does mean the fans may not behave exactly as they would plugged in solo.
In a parallel circuit, the voltage across each of the components is the same, and the total current is the sum of the currents flowing through each component.
So as long as your two fans aren't huge current draws (most fans aren't) you should be ok.
The fan still does not turn on after I tried sending the Gcode...
The new 24v fan is working 100% but not in port 0, 1 or 2. I'm only trying to run one fan at the moment not the two just to make sure I can get this working...
Until now I've never plugged anything in to port 0 or 1, so if I messed up Port 2 in the beginning it would mess up ports 0 and 1 as well?
Aforementioned the first set of fans were only 5v so it would be odd that this board is that sensitive and blown mosfet chip and damage the board vs just blowing up the fan???
Is there an issue with the F500 setting? From the factory is was set at F4, but on the mfg forum, everyone said to set that to F500...
M106 P2 S1 I0 F500 H-1 L0.3
If the mosfets are damaged ( in the picture they look fine ) what are the options? Can I just plug it into a always on port?
Also can I plug the fan directly into the board to make sure the cable isn't the issue correct? I'm going to use a multimeter as well, but I want to make sure the pins aren't coming out when I push the plug in...
-
Are you definitely still using RepRapFirmware 2.x, not 3.x ?
-
Diagnostics
Board: Duet WiFi 1.02 or later
Firmware: RepRapFirmware for Duet 2 WiFi/Ethernet 2.05.1 (2020-02-09b1)
Duet WiFi Server Version: 1.23** I used a multimeter on the cable as well to make sure there were no shorts and it was good.
-
@dc42 said in Switching from Duet Maestro to Duet WIFI:
Are you definitely still using RepRapFirmware 2.x, not 3.x ?
Question: The fuse for the FAN section is for all of the fans correct? At this point I'm open to any suggestions.
I can exchange this board for another one, but I want to make sure that if I get a new one that It works and if I made a mistake somewhere that I don't do that again...
Is there any possible way that I need to flip the connectors over? I know it seams odd since the always on fan works but I had to flip all of the motor connectors of due to the build of the Maestro vs the Wifi boards...
As always THANK YOU !
-
The fan fuse is for all the fans.
Don't flip the fan connectors. The board is marked with polarity and your fan should be too. connecting a fan with reversed polarity is a good way to kill the mosfet or the fan or both. If it works in the always on port, then the fan is good and the polarity is correct and your cable is good and the voltage is set correctly.
If you've connected to the correct fan port and have sent the M106 command to turn on the fan but nothing happens, then the mosfet for that fan port is likely damaged.
If that is the case you can potentially replace the mosfet if you're competent with that sort of thing. Or you can use a different fan output if available. It might make sense to put the hotend heatsink fan on the always on port and use a working PWM port for the part cooling fan. If you're still short of fan headers but had a free heater connector you could repurpose that as a fan header.
-
@Phaedrux said in Switching from Duet Maestro to Duet WIFI:
The fan fuse is for all the fans.
Don't flip the fan connectors. The board is marked with polarity and your fan should be too. connecting a fan with reversed polarity is a good way to kill the mosfet or the fan or both. If it works in the always on port, then the fan is good and the polarity is correct and your cable is good and the voltage is set correctly.
If you've connected to the correct fan port and have sent the M106 command to turn on the fan but nothing happens, then the mosfet for that fan port is likely damaged.
If that is the case you can potentially replace the mosfet if you're competent with that sort of thing. Or you can use a different fan output if available. It might make sense to put the hotend heatsink fan on the always on port and use a working PWM port for the part cooling fan. If you're still short of fan headers but had a free heater connector you could repurpose that as a fan header.
I didn't know what else to do so I just hit the reset button as I wanted to try one last thing before I exchanged the board and finally FAN 1 tuned right on with full controllability. This was in FAN 1 as opposed to the stock FAN 2 position. I powered down and then switched back to FAN 2 to check it and it was still not working.
I'm okay with using a different port, but any thoughts on why the reset button worked and why FAN 2 is still down? Basically, if FAN 1 is working I should be fine correct? Is their separate Mosfets for each port or should FAN 2 be working if FAN 1 is?
Thanks !
-
How should I configure this to make the nozzle fan use FAN 1 instead of FAN 2 ? Comment out the second line and switch the 3rd line from P2 to P1?
M106 P0 S1 I0 F500 H-1 L0.3 ; Filter fan. Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P1 S1 I0 F500 H-1 L0.3 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P2 S1 I0 F500 H-1 L0.3 ; Nozzle fan. Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100% -
@Stephenbright There's no difference in the command you're sending to fan 0, 1 or 2 in the above (they are all set to manual control), so it doesn't really matter. It's only the comment (after the ; ) that's different.
Ian
-
The tool definition needs to change to assign the fan you want to the tool.
-
@Phaedrux Where is that specifically?
-
@Stephenbright said in Switching from Duet Maestro to Duet WIFI:
; --- SECTION: TOOLS ( ) ---
; Comment: Remember! H0 is the heated bed!
; Comment: D0 is the first driver after movement (X, Y and Z) drives, which is left extruder
; D1 is right extruder
M98 Pmachine_ktana_tools.g ; Define ktana toolsIn your case, it would appear to be somewhere in here.
-
@Stephenbright said in Switching from Duet Maestro to Duet WIFI:
M106 P0 S1 I0 F500 H-1 L0.3 ; Filter fan. Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P1 S1 I0 F500 H-1 L0.3 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%
M106 P2 S1 I0 F500 H-1 L0.3 ; Nozzle fan. Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off, Minimum fan value 0.3, Speed 100%How do I set these to Auto? I'm guessing that is the Thermostatic setting? Thoughts on what to set that to?
-
@Stephenbright use H and T parameters of M106. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On
The temperature you turn it on is up to you. I have mine set to 45C; hot enough that the fan isn’t on when machine is idle, cold enough that it turns on early when hot end is turned on.
Ian