No Tools (Heaters) after Upgrading
-
@jay_s_uk
Sure, sorry about all the lines commented out, I wanted to preserve the previous data until I get the new version working. Thanks for your help! :
; Configuration file for Duet WiFi (firmware version 1.21) UPDATED by WMM for Dual Z Motors and End Stops
; executed by the firmware on start-up
; NEW Indicated for lines edited to support dual Z=Stops
; generated by RepRapFirmware Configuration Tool v2 on Tue Dec 18 2018 16:44:11 GMT-0500 (Eastern Standard Time)
; Upgraded to FW v3.4.1 7/24/2022; General preferences
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder movesM667 S1 ; Select CoreXY mode Should this be M669 K1?
; Network
M550 P"" ; Set machine name
M551 P": ; Set password
M552 S1 ; Enable network
M587 S"" ; Configure access point. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Drives
M569 P0 S0 ; Drive 0 goes BACKWARDS Y Homes to the FRONT X Homes to the LEFT
M569 P1 S1 ; Drive 1 goes forwards Y Homes to the FRONT X Homes to the LEFT
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M569 P4 S1 ; NEW Drive 4 goes forwards
M584 X0 Y1 Z2:3 U3 E4 P3 ; NEW Line Creates Dual Z by adding U as second Z Moved from below drives section in example
M350 X16 Y16 Z16 U16 E16 I1 ; NEW Configure microstepping without interpolation NEW Added U32 Changed E to 16
M92 X80.00 Y80.00 Z400.00 U400.00 E476.5 ; NEW Set steps per mm With the change in microstepping above, all stepps/mm needed to be cut in half except E for some reason
M566 X100.00 Y100.00 Z12.00 U12.00 E20.00 ; NEW Set maximum instantaneous speed changes (mm/min) JERK NEW Added U was 900 for X/Y
M203 X3600.00 Y3600.00 Z600.00 U600.00 E2400.00 ; NEW Set maximum speeds (mm/min) NEW Added U Changed Max Speed for Z/U to 600 was 6000
M201 X800.00 Y800.00 Z20.00 U20.00 E500.00 ; NEW Set accelerations (mm/s^2) NEW Added U - changed X+Y to 1500 from 3000
M906 X1000.00 Y1000.00 Z1400.00 U1400.00 E800.00 I30 ; NEW Set motor currents (mA) and motor idle factor in per cent NEW Added U
M84 S30 ; Set idle timeout; Leadscrew locations
;M671; Axis Limits NEW Added
M208 X1 Y0 Z0 U0 S1 ; NEW Set axis minima NEW added U0 was all 1
M208 X400 Y370 Z380 U380 S0 ; NEW Set axis maxima NEW added U0 Revised max from X390 Y390; Endstops
M574 X1 S1 P"xstop" ; New for ver 3 Note if using Stallgaurd less info is required All
M574 Y0 S1 P"ystop" ; New for ver 3
M574 Z1 S1 P"zstop" ; New for ver 3 Maybe S4 to stop both Z motors
M574 U1 S1 P"ustop" ; Not sure about "U" in this config Maybe S4 to stop both Z motors
;M574 X1 Y1 S1 ; OLD Set active high endstops OLD; Z-Probe
;M558 P0 H5 F120 T6000 ; OLD Disable Z probe but set dive height, probe speed and travel speed
M558 P4 X0 Y0 Z0 H2 F60 T6000 ; NEW Set Z probe type to switch, the axes for which it is used and the dive height + speeds, edited P0 to P4 indicating switch
G31 P600 X0 Y0 Z0 ; NEW Set Z probe trigger value, offset and trigger height
M557 X20:360 Y20:360 S20 ; Define mesh grid; HEATERS
; Bed
M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 R4700 ; New 3 Bed Keenovo
M950 H0 C"bedheat" T0 ; New 3
;M307 H0 B0 S1.00 ; Disable bang-bang mode for the bed heater and set PWM limit
M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B0 ; Copied from override file
M140 H0 ;
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
;M305 P0 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0;; Hotend
;M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1 Before Revo was P0 T100000 B4138 R4700
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 C7.060000e-8 ; New 3 S?
M950 H1 C"e0heat" T1 ; New 3
;M307 for Hotend? ;
M307 H1 A232.6 C90.5 D0.9 S0.50 V12.1 B0 ; Copied from override file
M143 H1 S300 ; Set temperature limit for heater 1 to 300C; Before Revo was 280; Fans
M950 F0 C"fan0" Q500 ; New 3
M106 P0 S0 H-1 ; Revised V3 Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off Changed from S0.3
;M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off Changed from S1 No Fan 1
;M106 P2 S0 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off Changed from S1 No Fan 2
M950 F1 C"fan1" Q500 ; New 3
M106 P1 S1 H-1 ; New 3; Tools
M563 P0 D H1 ; 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 0CM575 P1 B57600 S1 ; New V3 PanelDue specific
; Automatic saving after power loss is not enabled
; Custom settings are not configured
; Miscellaneous
T0 ; Select first tool
;M501 ; Load latest PID Tune for H1 -
It would probably help to pattern it off of a config generated by the config tool to get the proper command syntax and ordered.
https://configtool.reprapfirmware.org/Start
; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 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 ; 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
Your tool definition is missing a number after the D to set the actual extruder drive to use. It also looks like your M584 command is hiding the U and E drives. Can't have an extruder without an extruder drive.
-
@phaedrux
OK, sure I understand it would be easier to read, but I don't see any difference in my heater settings from the ones you included, and the heaters are my problem. Or do you see something I don't? -
I think you may also have your DWC version out of step with the main firmware. What version does it show?
-
@phaedrux
2.04 -
Upload this zip file to the system tab in DWC.
https://github.com/Duet3D/DuetWebControl/releases/download/v3.4.1/DuetWebControl-SD.zip
That should update your DWC version to match the firmware.
-
@phaedrux
Ah! Thank you.
Also, that solved part of the problem, the Bed is now displaying room temp. But no sign of the extruder. Any suggestions? -
Did you fix the problems with the tool definition and extruder motor I mentioned?
You can send M98 P"config.g" in the gcode console to execute config.g and see if there are any obvious syntax error messages.
Otherwise post your config.g again as it currently stands.
Also post the results of M122 for good measure. -
@phaedrux Yes added 0 for the D, and I'll try those gcode console commands.
-
@phaedrux OK, M98 was quite helpful as well as resolving the unlabeled "D". I can now see both thermistors! Thank you!
The next thing I need to resolve is converting from the legacy splitting the dual Z axis into Z & U, to the new process. I think I understand it but we'll see.
Thanks again!
-
@wmmc01 OK, closing this topic, my temperatures are now visible and functional. Thanks for the rapid responses to help me out. I am working through another matter, but different topic so I start a new discussion if I can't resolve it on my own. Thanks!
-
-